Documentation Index
Fetch the complete documentation index at: https://developer.kallglot.com/llms.txt
Use this file to discover all available pages before exploring further.
Telephony Providers
Request vs response naming: In
POST /v1/sessions, you only set telephony on the routing object. The session response may include a read-only string provider (twilio, telnyx, sip, …) showing which carrier was resolved—do not send that as a nested provider object in the request body. Webhooks such as session.provider.connected describe telephony lifecycle events, not JSON fields for session creation.- Kallglot-managed numbers
- External routing connections
- SIP / PBX
routing object in POST /v1/sessions.
Kallglot-managed numbers
Kallglot provisions and manages the underlying phone number for your organization. Use a managed number when:- your organization owns an active Kallglot number
- you want to route a session through that number directly
- you do not want to configure an external routing connection
External routing connections
External routing connections represent telephony accounts your organization connected in the Developer Portal. Use an external routing connection when:- you already run telephony in your own Twilio or Telnyx account
- you want Kallglot to operate on top of that account
- you want explicit routing to a particular routing configuration
routing.connection_id explicitly.
SIP / PBX
SIP mode is for PBX-first or contact-center integrations that speak standard SIP toward Kallglot. Use SIP when:- your calls live inside a PBX or contact center platform
- you want to create a session first, then bridge the call to Kallglot
- you do not need a routing connection record
Telephony Resolution Order
Kallglot resolves telephony in this order:routing.connection_id, if provided- SIP mode when
routing.typeissip - active Kallglot-managed number when
routing.phone_numbermatches an organization-owned number - default active external routing connection, if configured
- a setup error if no valid route exists
Routing Fields
| Field | Meaning |
|---|---|
routing.phone_number | Kallglot-managed phone number in E.164 format |
routing.connection_id | External provider connection ID (pcon_xxx) |
routing.type | Routing type: sip or webrtc. Only required for SIP/WebRTC modes |
routing.direction | Call direction: inbound or outbound |
routing.sip | SIP-specific configuration (when type is sip) |
Developer Portal Configuration
All telephony options are configured in Developer Portal > Telephony:| Section | Description |
|---|---|
| Kallglot-managed numbers | Buy and manage phone numbers directly through Kallglot |
| External routing connections | Connect your own Twilio or Telnyx accounts |
| SIP / PBX | Enable SIP access for PBX integration |
Set a default routing connection to simplify API requests. When you omit
routing.connection_id, Kallglot uses your default connection automatically.