Get Call
Calls
Get Call
Get CometChat call details by sessionId with REST API, including participants, metrics, duration, and recording information.
GET
Get Call
Retrieve detailed information about a specific call using its session ID. This endpoint returns complete call data including all participants, their individual metrics, and recording information.Documentation Index
Fetch the complete documentation index at: https://cometchat-22654f5b-docs-add-campaigns-webhooks.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
When to Use
| Scenario | Description |
|---|---|
| Call details page | Display comprehensive information about a completed call |
| Recording access | Get the recording URL for playback or download |
| Participant analytics | View individual participant metrics (join time, duration, etc.) |
| Debugging | Investigate issues with a specific call session |
Example Request
Response Details
The response includes:- Call metadata: Type, mode, status, duration, timestamps
- Participants array: Each participant’s UID, device ID, join/leave times, and individual audio/video minutes
- Recordings array: Recording IDs, URLs, duration, and timestamps (if
hasRecordingis true)
The
sessionId is returned when a call is initiated via the SDK or can be found in the List Calls response.Participant States
Each participant in the response has astate field:
| State | Description |
|---|---|
ongoing | Participant is currently in the call |
ended | Participant left the call normally |
unanswered | Participant didn’t answer the call |
rejected | Participant rejected the call |