Get AI call
GET
/api/v1/ext/calls/ai/{call_id}
How a placed AI call is going, or how it ended.
Auth: Bearer access_token
Scope: calls.read
While the call is live: active, connected (the contact answered) and the timestamps. Once over: ended: true with end_reason, answered and failed, and a message saying why when it failed. The state is kept for the duration of the call and a short while after; an id that is no longer known answers 404 — the lasting record is *Voice agents → Get voice call*.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| call_id | path | string | yes | The call_id from *Place an AI call*. |
Responses
| Status | When |
|---|---|
200 | Live |
200 | Over |
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/calls/ai/{call_id}" \
-H "Authorization: Bearer <ACCESS_TOKEN>"Live
{
"success": true,
"data": {
"call_id": "c7f1a2b3-4d5e-4f60-8a9b-0c1d2e3f4a5b",
"active": true,
"connected": true,
"ended": false,
"channel": "whatsapp",
"started_at": "2026-11-04T03:00:00.000Z",
"answered_at": "2026-11-04T03:00:09.000Z",
"end_reason": null,
"answered": true,
"failed": null,
"message": null
}
}Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Path parameters
The `call_id` from *Place an AI call*.
Request URL
GEThttps://backend.mysmsgateway.app/api/v1/ext/calls/ai/%7Bcall_id%7D
Previous
« Preview an AI call
Next
Get call status »
