Skip to main content

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​

ResourceEndpoints
AgentsPOST /center-agent/create, GET /center-agent/list, GET /center-agent/get/{id}, PUT /center-agent/update/{id}, DELETE /center-agent/delete/{id}
Agent statusPUT /center-agent/status/{id}: set an agent available, on break, or logged out
SupervisorsPOST /center-supervisor/create, list, get/{id}, update/{id}, delete/{id}
TeamsPOST /center-team/create, list, get/{id}, update/{id}, delete/{id}
QueuesPOST /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 ConfigsPOST /center-config/create, list, get/{id}, update/{id}
SoundboardsPOST /soundboard/create, list, get/{id}, update/{id}, delete/{id}
SettingsGET 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​

EndpointReturns
GET /callcenter/agents/nowEach agent's status, break reason, state (waiting, ringing, on a call, wrapping up), and phone registration.
GET /callcenter/queues/nowEach queue's callers waiting, longest wait, and agents.
GET /callcenter/calls/nowCall-center calls in progress.
GET /callcenter/preview/nowAgents working preview campaigns. POST /callcenter/preview/stop/{id} stops one.

History and reports​

  • GET /callcenter/queue-calls/list and GET /callcenter/queue-calls/get/{member_uuid}: every queue call, with the agents it was offered to.
  • GET /callcenter/agent-calls/list and GET /callcenter/agent-legs/list: agents' calls and call legs.
  • GET /callcenter/agent-status/list: every status change, with break reasons.
  • GET /callcenter/supervisions/list and GET /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.