List recent calls
GET
/api/v1/ext/calls
The calls the workspace's Mac lines rang or placed, newest first.
Auth: Bearer access_token
Scope: calls.read
Every call a Mac line (FaceTime Audio) saw in the last days, with its stages as the Calls page shows them and a one-word outcome: answered, ai_answered, declined, missed, caller_hung_up, failed, not_rung or ringing. AI calls on every channel, with transcripts, are in *Voice agents → List voice calls*; calls on SIM, WhatsApp and Twilio lines are logged on the contact's conversation as CALL: messages (*List conversation messages*).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| workspace_id | query | number | yes | A workspace of the installer. |
| days | query | number | no | 1–90, default 7. |
| limit | query | number | no | 1–200, default 50. |
Responses
| Status | When |
|---|---|
200 | OK |
400 | days or limit out of range |
401 | Missing or invalid token |
403 | Missing scope |
404 | Workspace 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" \
-H "Authorization: Bearer <ACCESS_TOKEN>"OK
{
"success": true,
"data": [
{
"call_id": "mac-call-91a2",
"workspace_id": 7,
"device_id": "A1B2C3D4-MAC",
"kind": "incoming",
"outcome": "answered",
"started_at": "2026-11-04T01:00:00.000Z",
"stages": [
{
"stage": "ringing",
"ok": true,
"detail": null,
"at": "2026-11-04T01:00:00.000Z"
},
{
"stage": "connected",
"ok": true,
"detail": null,
"at": "2026-11-04T01:00:05.000Z"
}
]
}
],
"meta": {
"days": 7,
"limit": 50
}
}Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Query parameters
A workspace of the installer.
1–90, default 7.
1–200, default 50.
Request URL
GEThttps://backend.mysmsgateway.app/api/v1/ext/calls
Previous
« Decline ringing call
Next
Get call »
