Get voice call
GET
/api/v1/ext/voice-agents/calls/{call_id}
One AI call with its transcript.
Auth: Bearer access_token
Scope: voice_agents.read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| call_id | path | string | yes | The call id from List voice calls. |
| workspace_id | query | number | yes | A workspace of the installer. |
Responses
| Status | When |
|---|---|
200 | OK |
401 | Missing or invalid token |
403 | Missing scope |
404 | Call does not exist or is not the installer's (same response for both) |
RequestResponses
curl -X GET "https://backend.mysmsgateway.app/api/v1/ext/voice-agents/calls/{call_id}" \
-H "Authorization: Bearer <ACCESS_TOKEN>"OK
{
"success": true,
"data": {
"id": "vc_01HZX9A1B2",
"voice_agent_id": "va_01HZX4Q8K2",
"voice_agent_name": "Sales Voice",
"voice_agent_deleted": false,
"contact_id": "1234",
"contact_name": "Ann Lee",
"contact_phone": "+61412345678",
"channel": "whatsapp",
"direction": "outbound",
"status": "ended",
"is_test": false,
"started_at": "2026-11-04T03:00:00+00:00",
"ended_at": "2026-11-04T03:02:10+00:00",
"duration_seconds": 130,
"end_reason": "user_hangup",
"turns": 9,
"response_ms_p50": 820,
"metrics": {
"turns": 9,
"response_ms": {
"p50": 820,
"p95": 1400
}
},
"created_at": "2026-11-04T03:00:00+00:00",
"transcript": [
{
"role": "agent",
"text": "Hi, this is Sam from Acme. Is now a good time?",
"at": "2026-11-04T03:00:04+00:00"
},
{
"role": "user",
"text": "Sure, go ahead.",
"at": "2026-11-04T03:00:08+00:00"
}
]
}
}Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Path parameters
The call id from List voice calls.
Query parameters
A workspace of the installer.
Request URL
GEThttps://backend.mysmsgateway.app/api/v1/ext/voice-agents/calls/%7Bcall_id%7D
Previous
« List voice calls
Next
List lead forms »
