API'et arbejder med de samme agenter, opkald og kreditter som webdashboardet. Alt, hvad du bygger i dashboardet, kan styres fra dine egne systemer, og omvendt.
| Hvad | Endpoint |
|---|---|
| Vis agenter | GET /api/v1/voice/agents |
| Opret en agent | POST /api/v1/voice/agents |
| Hent / opdater en agent | GET · PATCH /api/v1/voice/agents/{id} |
| Foretag et udgående opkald | POST /api/v1/voice/calls |
| Vis opkald | GET /api/v1/voice/calls |
| Hent et opkald (udskrift) | GET /api/v1/voice/calls/{id} |
| Slet et opkald | DELETE /api/v1/voice/calls/{id} |
| Slet en opkalders opkald | POST /api/v1/voice/calls/delete-by-caller |
| Kampagner | GET · POST /api/v1/voice/campaigns |
| Hent en kampagne | GET /api/v1/voice/campaigns/{id} |
| Start / pause / annuller | POST /api/v1/voice/campaigns/{id}/{action} |
| Klonede stemmer | GET · POST /api/v1/voice/voices |
| Slet en klonet stemme | DELETE /api/v1/voice/voices/{id} |
| Spærreliste | GET · POST /api/v1/voice/do-not-call |
| Fjern fra listen | DELETE /api/v1/voice/do-not-call/{phone} |
| Sprog, stemmer, skabeloner | GET /api/v1/voice/catalog |
| En agents tests | GET · POST /api/v1/voice/agents/{id}/tests |
| Kør tests / læs en kørsel | POST /api/v1/voice/agents/{id}/test-runs · GET /api/v1/voice/test-runs/{id} |
| Tildel et nummer til en agent | PATCH /api/v1/voice/phone-numbers/{id} |
| Ordlister | GET · POST /api/v1/voice/vocabularies |
| Skrevne chats | POST /api/v1/voice/chats · POST /api/v1/voice/chats/{id}/messages · POST /api/v1/voice/chats/{id}/end |