Call Center API
The Call Center API covers everything under Call-Center and Call-Center Reports: the objects you configure, what is happening right now, the history of queue calls and agents, and the reports. Use it to sync agents from your HR system, to show live queue figures in your own tools, or to export call-center history to a data warehouse.
The examples below assume the BASE_URL and HEADERS client from API authentication. IDs are opaque values: copy them from DialerAI or from a list response rather than constructing them. The full schema of every endpoint is in the API reference.
Configure the call center
| Resource | Endpoints |
|---|---|
| Agents | POST /center-agent/create, GET /center-agent/list, GET /center-agent/get/{id}, PUT /center-agent/update/{id}, DELETE /center-agent/delete/{id} |
| Agent status | PUT /center-agent/status/{id}: set an agent available, on break, or logged out |
| Supervisors | POST /center-supervisor/create, list, get/{id}, update/{id}, delete/{id} |
| Teams | POST /center-team/create, list, get/{id}, update/{id}, delete/{id} |
| Queues | POST /center-queue/create, list, get/{id}, update/{id}, delete/{id}, and PUT or DELETE /center-queue/{id}/agents/{agent_id} to add or remove an agent. center_config_id sets the Workspace Config of the queue's inbound calls; null goes back to the default |
| Workspace Configs | POST /center-config/create, list, get/{id}, update/{id} |
| Soundboards | POST /soundboard/create, list, get/{id}, update/{id}, delete/{id} |
| Settings | GET and PUT /callcenter/settings: the organization's Call-Center Settings |
Callbacks
GET /callcenter/callbacks/list, GET /callcenter/callbacks/get/{callback_id}, POST /callcenter/callbacks/create, PUT /callcenter/callbacks/update/{callback_id} to reschedule or reassign, and POST /callcenter/callbacks/close/{callback_id} to mark one done or cancelled.
payload = {
"contact_id": CONTACT_ID,
"scheduled_at": "2026-10-20T15:00:00Z",
"assigned_agent_id": AGENT_ID,
"note": "Wants the new prices",
}
response = requests.post(f"{BASE_URL}/callcenter/callbacks/create", json=payload, headers=HEADERS)
response.raise_for_status()
scheduled_at must be in the future, with its timezone. Leave out assigned_agent_id to let any agent take the callback, and add queue_id to label it with a queue. A contact marked Do Not Disturb is refused.
Live state
| Endpoint | Returns |
|---|---|
GET /callcenter/agents/now | Each agent's status, break reason, state (waiting, ringing, on a call, wrapping up), and phone registration. |
GET /callcenter/queues/now | Each queue's callers waiting, longest wait, and agents. |
GET /callcenter/calls/now | Call-center calls in progress. |
GET /callcenter/preview/now | Agents working preview campaigns. POST /callcenter/preview/stop/{id} stops one. |
History and reports
GET /callcenter/queue-calls/listandGET /callcenter/queue-calls/get/{member_uuid}: every queue call, with the agents it was offered to.GET /callcenter/agent-calls/listandGET /callcenter/agent-legs/list: agents' calls and call legs.GET /callcenter/agent-status/list: every status change, with break reasons.GET /callcenter/supervisions/listandGET /callcenter/supervisions/get/{supervision_id}.GET /callcenter/reports/agents,/reports/queues,/reports/queues/timeline,/reports/supervisors, and/reports/preview: the figures of the call-center reports.
To be told about changes instead of polling, use the call-center webhooks.
Related
- Advanced APIs: the other APIs.
- CDR API: the contact calls themselves.