IP-PSTN Intermix: WebRTC SDK Integration
Integrate WebRTC-based calling into your web and mobile applications, enabling browser-to-phone and browser-to-browser calls through Exotel's platform.
Key Features​
- Browser-to-Phone -- Make calls from web apps to PSTN numbers
- Browser-to-Browser -- VoIP calls between web clients
- Authentication Tokens -- Secure token-based access valid for 90 days
- Application Management -- Register, configure, and manage calling applications
- User Management -- Map users under applications with SIP credentials
- Call Notifications -- Handle inbound and outbound call events via webhooks
- Device Management -- Toggle phone/SIP device status per user
- App Settings -- Configure webhooks for popups, missed calls, callbacks, recording, and streaming
Base URL​
https://integrationscore.mum1.exotel.com/v2/integrations
Authentication Flow​
- Customer Token -- Authenticate with customer ID and secret (
Entity: "customer") - Register App -- Create an application using the customer token, receive
AppIDandAppSecret - App Token -- Authenticate with AppID and AppSecret (
Entity: "app") - Manage Users & Settings -- Use the app token for all subsequent operations
Tokens are valid for 90 days.
Integration APIs​
| API | Description |
|---|---|
| Authentication | Create auth tokens for customers or apps |
| Applications | Register, list, retrieve, and delete calling applications |
| App Settings | Configure webhooks for call events, recording, and streaming |
| Users | Map, list, and manage users within applications |
| Device Management | Toggle phone/SIP devices for users |
| Call Notifications | Handle inbound and outbound call notification callbacks |
| Customer Management | Retrieve and delete customer accounts |
Resources​
- Exotel Postman Collection -- Complete API examples
- Contact your Exotel account manager for SDK access and documentation
HTTP Status Codes​
| Code | Description |
|---|---|
200 | Success |
400 | Bad request / Invalid parameters |
401 | Unauthorized / Invalid token |
500 | Internal server error |