Retrieve call history and details using the CometChat REST API. Call logs provide information about past calls including participants, duration, and recording URLs.Documentation Index
Fetch the complete documentation index at: https://www.cometchat.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
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 Call Details
Retrieve details for a specific call:Call Log Properties
| Property | Type | Description |
|---|---|---|
sessionId | String | Unique identifier for the call session |
initiator | Object | User who initiated the call |
receiver | Object | User or group that received the call |
type | String | Call type: audio or video |
status | String | Call status: initiated, ongoing, ended, etc. |
startedAt | Number | Unix timestamp when the call started |
endedAt | Number | Unix timestamp when the call ended |
duration | Number | Call duration in seconds |
participants | Array | List of participants who joined |
recordingUrl | String | URL to the call recording (if recorded) |