Skip to main content
Retrieve call history and details using the CometChat REST API. Call logs provide information about past calls including participants, duration, and recording URLs.

Retrieving Call Logs

Call logs are accessed through the CometChat REST API rather than the client SDK. Use the following endpoints:

List Calls

Retrieve a list of calls for your app:
GET https://{{appId}}.api-{{region}}.cometchat.io/v3/calls
See the List Calls API documentation for full details on parameters and response format.

Get Call Details

Retrieve details for a specific call:
GET https://{{appId}}.api-{{region}}.cometchat.io/v3/calls/{{sessionId}}
See the Get Call API documentation for full details.

Call Log Properties

PropertyTypeDescription
sessionIdStringUnique identifier for the call session
initiatorObjectUser who initiated the call
receiverObjectUser or group that received the call
typeStringCall type: audio or video
statusStringCall status: initiated, ongoing, ended, etc.
startedAtNumberUnix timestamp when the call started
endedAtNumberUnix timestamp when the call ended
durationNumberCall duration in seconds
participantsArrayList of participants who joined
recordingUrlStringURL to the call recording (if recorded)