The API works on the same agents, calls and Credits as the web dashboard. Anything you build in the dashboard can be driven from your own systems, and the other way round.
| What | Endpoint |
|---|---|
| List agents | GET /api/v1/voice/agents |
| Create an agent | POST /api/v1/voice/agents |
| Get / update an agent | GET · PATCH /api/v1/voice/agents/{id} |
| Place an outbound call | POST /api/v1/voice/calls |
| List calls | GET /api/v1/voice/calls |
| Get a call (transcript) | GET /api/v1/voice/calls/{id} |
| Delete a call | DELETE /api/v1/voice/calls/{id} |
| Delete a caller's calls | POST /api/v1/voice/calls/delete-by-caller |
| Campaigns | GET · POST /api/v1/voice/campaigns |
| Get a campaign | GET /api/v1/voice/campaigns/{id} |
| Start / pause / cancel | POST /api/v1/voice/campaigns/{id}/{action} |
| Cloned voices | GET · POST /api/v1/voice/voices |
| Delete a cloned voice | DELETE /api/v1/voice/voices/{id} |
| Do-not-call list | GET · POST /api/v1/voice/do-not-call |
| Remove from the list | DELETE /api/v1/voice/do-not-call/{phone} |
| Languages, voices, templates | GET /api/v1/voice/catalog |
| An agent's tests | GET · POST /api/v1/voice/agents/{id}/tests |
| Run tests / read a run | POST /api/v1/voice/agents/{id}/test-runs · GET /api/v1/voice/test-runs/{id} |
| Route a number to an agent | PATCH /api/v1/voice/phone-numbers/{id} |
| Word lists | GET · POST /api/v1/voice/vocabularies |
| Typed chats | POST /api/v1/voice/chats · POST /api/v1/voice/chats/{id}/messages · POST /api/v1/voice/chats/{id}/end |