TelephonyClient is reachable on every Kataven client as client.telephony. Each method maps to one HTTP endpoint on the Hub API; links to the underlying spec entry are inline below.
Carrier credentials (encrypted) and phone-number management. Pin a number to an agent so inbound calls route to that agent.
Methods at a glance
| Method | HTTP | Summary |
|---|---|---|
list_providers | GET /api/telephony/providers | List telephony provider credentials |
create_provider | POST /api/telephony/providers | Add a telephony provider credential |
delete_provider | DELETE /api/telephony/providers/{provider_id} | Delete a telephony provider credential |
list_numbers | GET /api/telephony/numbers | List phone numbers |
create_number | POST /api/telephony/numbers | Register a phone number |
update_number | PATCH /api/telephony/numbers/{number_id} | Pin or unpin a phone number to an agent |
delete_number | DELETE /api/telephony/numbers/{number_id} | Delete a phone number |
Reference
client.telephony.list_providers(...)
List telephony provider credentials
HTTP — GET /api/telephony/providers · API reference →
client.telephony.create_provider(...)
Add a telephony provider credential
HTTP — POST /api/telephony/providers · API reference →
credentials keys per provider:
- twilio: account_sid, auth_token
- plivo: auth_id, auth_token
- vobiz: auth_id, auth_token
client.telephony.delete_provider(...)
Delete a telephony provider credential
HTTP — DELETE /api/telephony/providers/{id} · API reference →
client.telephony.list_numbers(...)
List phone numbers
HTTP — GET /api/telephony/numbers · API reference →
client.telephony.create_number(...)
Register a phone number
HTTP — POST /api/telephony/numbers · API reference →
client.telephony.update_number(...)
Pin or unpin a phone number to an agent
HTTP — PATCH /api/telephony/numbers/{id} · API reference →
client.telephony.delete_number(...)
Delete a phone number
HTTP — DELETE /api/telephony/numbers/{id} · API reference →

