Skip to main content
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

Reference

client.telephony.list_providers(...)

List telephony provider credentials HTTPGET /api/telephony/providers · API reference →
Returns metadata about every carrier credential configured for this account. Plaintext credentials are not returned.

client.telephony.create_provider(...)

Add a telephony provider credential HTTPPOST /api/telephony/providers · API reference →
Required credentials keys per provider:
  • twilio: account_sid, auth_token
  • plivo: auth_id, auth_token
  • vobiz: auth_id, auth_token
Encrypts the credentials JSON via the Secret Encryptor service, then inserts the row. Plaintext is never persisted.

client.telephony.delete_provider(...)

Delete a telephony provider credential HTTPDELETE /api/telephony/providers/{id} · API reference →
Refuses if any phone-number row still references this credential — detach numbers first.

client.telephony.list_numbers(...)

List phone numbers HTTPGET /api/telephony/numbers · API reference →

client.telephony.create_number(...)

Register a phone number HTTPPOST /api/telephony/numbers · API reference →
Binds an E.164 number to a carrier credential row and (optionally) pins it to one agent. Inbound + outbound default to enabled.

client.telephony.update_number(...)

Pin or unpin a phone number to an agent HTTPPATCH /api/telephony/numbers/{id} · API reference →

client.telephony.delete_number(...)

Delete a phone number HTTPDELETE /api/telephony/numbers/{id} · API reference →