Public APICalls & recordings
Get a call with transcript, analyses, and notes
Authorization
bearerAuth AuthorizationBearer <token>
API key in the Authorization: Bearer <key> header.
Keys are created in the SMAO dashboard (Settings → API Keys).
In: header
Path Parameters
call_id*string
Match
^[a-f0-9]{24}$Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/calls/65f8fa6f1a9d8e0012ab34cd"{ "data": { "id": "string", "assistant_id": "string", "assistant_name": "string", "assistant_phone": "string", "direction": "inbound", "source": "inbound_phone", "phone_number": "string", "duration_seconds": 0, "done": true, "success": true, "language": "string", "started_at": "2019-08-24T14:15:22Z", "ended_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "transcript": [ { "role": "string", "content": "string", "timestamp": "2019-08-24T14:15:22Z" } ], "analyses": [ { "id": "string", "name": "string", "status": "string", "body_result": {}, "started_at": "2019-08-24T14:15:22Z", "completed_at": "2019-08-24T14:15:22Z" } ], "notes": [ { "id": "string", "content": "string", "author_id": "string", "author_name": "string", "created_at": "2019-08-24T14:15:22Z" } ], "recording": { "available": true, "format": "string", "mime_type": "string", "duration_ms": 0, "size_bytes": 0 } }}Trigger an outbound call POST
Starts an outbound call. Provide exactly one of `assistant_id` or `assistant_phone` to select the assistant, and exactly one of `to` or `target_phone` for the destination number (`to` is preferred, `target_phone` is an alias retained for backwards compatibility).
Download the call recording GET
Returns the audio recording as a binary stream. Supports HTTP `Range` for partial content. Returns 404 with JSON envelope when no recording exists for the call.