Get a call transcript
The conversation as text and as ordered turns, plus the tools the agent called. Empty while nothing has been said; final once the call has ended.
The conversation as text and as ordered turns, plus the tools the agent called. Empty while nothing has been said; final once the call has ended.
X-API-Key<token>Create in the console: Settings → API & webhooks.
call_id*Call IdOK
application/json- response
The call's conversation as text and as turns.
callId*CallidCall ID.
status?|Call status; the transcript is final once the call has ended.
success?SuccessAlways true on a 2xx response.
truetoolInvocations*array<unknown>Tools the agent called during the call.
transcript*TranscriptUser: / Assistant: lines, empty when nothing was said.
turns*array<>The same conversation split into turns, in order.
[key: string]?anycurl -X GET 'https://api.callmitra.ai/api/v1/calls/string/transcript'{ "callId": "8c1e5b7a-2d4f-4e9a-b6c3-1f0a9d8e7b65", "status": "completed", "success": true, "toolInvocations": [], "transcript": "Assistant: Hi, this is Asha from Acme.\nUser: Hi, yes.", "turns": [ { "role": "assistant", "text": "Hi, this is Asha from Acme." }, { "role": "user", "text": "Hi, yes." } ]}Download a call recording GET
The call's audio (MP3, or WAV for a call that is still being converted). Check `hasRecording` on the call first.
List calls GET
Newest first. For deep lists pass `cursor` (empty for the first page, then the `nextCursor` you got back): cursor pages skip the total count and stay fast. Without `cursor` the list pages by `page` and counts matches up to 10,000.