Calls
Get Call Transcriptions
Retrieve the transcriptions generated for a CometChat call by sessionId, with pagination and links to the transcript files.
GET
Get Call Transcriptions
Retrieve the transcriptions generated for a specific call using its session ID. Each entry describes one transcript file, including the window it covers and the URL to download it.
The optional
onBehalfOf header scopes the request to a specific user; leave it out to call as the app itself.
When to Use
Example Request
Response Details
Each entry in thedata array describes one transcript file:
Transcriptions are generated asynchronously after a call ends, so a call that has just finished may return an empty
data array. Fields with no value are omitted from the response rather than returned as null.Pagination
Results are paginated, newest transcript first. Usepage and perPage to page through them.
Relationship to the Call Object
The List Calls and Get Call responses embed the 5 most recent transcriptions on each call whosehasTranscription is true. Use this endpoint when a call has more than 5 transcripts, or when you need to page through them.Authorizations
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
Headers
UID of the user on whose behalf the action is performed.
Path Parameters
Call whose transcriptions are to be retrieved
Query Parameters
The page of results to return. Defaults to 1.
The number of transcriptions to return per page. Defaults to 100, capped at 1000.