List ringing calls
GET
/api/v1/ext/calls/incoming
The calls ringing on the installer's lines right now.
Auth: Bearer access_token
Scope: calls.read
What the dashboard's incoming-call popup shows. ai_answer_at is when the workspace's inbound voice agent will pick up unless a person does first; mac_can_answer: false means the Mac reported it cannot take a call just now. Answering needs the dashboard (browser audio); *Decline ringing call* works from here.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| workspace_id | query | number | no | Only this workspace's lines. Default: every workspace of the installer. |
Responses
| Status | When |
|---|---|
200 | OK |
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/incoming" \
-H "Authorization: Bearer <ACCESS_TOKEN>"OK
{
"success": true,
"data": [
{
"call_id": "ring-5f2a",
"workspace_id": 7,
"channel": "imessage",
"from": "+61412345678",
"from_name": "Ann Lee",
"contact_id": 1234,
"contact_name": "Ann Lee",
"started_at": "2026-11-04T06:00:00.000Z",
"ai_answer_at": "2026-11-04T06:00:15.000Z",
"ai_agent_name": "Sales Voice",
"mac_can_answer": true
}
]
}Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Query parameters
Only this workspace's lines. Default: every workspace of the installer.
Request URL
GEThttps://backend.mysmsgateway.app/api/v1/ext/calls/incoming
Previous
« Save call routing
Next
Decline ringing call »
