API, web panelindekiyle aynı ajanlar, aramalar ve kredilerle çalışır. Panelde kurduğunuz her şeyi kendi sistemlerinizden yönetebilirsiniz, tersi de geçerlidir.
| Ne | Endpoint |
|---|---|
| Ajanları listele | GET /api/v1/voice/agents |
| Ajan oluştur | POST /api/v1/voice/agents |
| Ajanı getir / güncelle | GET · PATCH /api/v1/voice/agents/{id} |
| Aramaları listele | GET /api/v1/voice/calls |
| Bir aramayı getir (döküm) | GET /api/v1/voice/calls/{id} |
| Bir aramayı sil | DELETE /api/v1/voice/calls/{id} |
| Bir arayanın aramalarını sil | POST /api/v1/voice/calls/delete-by-caller |
| Aranmayacaklar listesi | GET · POST /api/v1/voice/do-not-call |
| Listeden çıkar | DELETE /api/v1/voice/do-not-call/{phone} |
| Diller, sesler, şablonlar | GET /api/v1/voice/catalog |
| Bir ajanın testleri | GET · POST /api/v1/voice/agents/{id}/tests |
| Testleri çalıştır / çalıştırmayı oku | POST /api/v1/voice/agents/{id}/test-runs · GET /api/v1/voice/test-runs/{id} |
| Numarayı ajana yönlendir | PATCH /api/v1/voice/phone-numbers/{id} |
| Kelime listeleri | GET · POST /api/v1/voice/vocabularies |
| Yazılı sohbetler | POST /api/v1/voice/chats · POST /api/v1/voice/chats/{id}/messages · POST /api/v1/voice/chats/{id}/end |