Skip to main content

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​

  1. Customer Token -- Authenticate with customer ID and secret (Entity: "customer")
  2. Register App -- Create an application using the customer token, receive AppID and AppSecret
  3. App Token -- Authenticate with AppID and AppSecret (Entity: "app")
  4. Manage Users & Settings -- Use the app token for all subsequent operations

Tokens are valid for 90 days.

Integration APIs​

APIDescription
AuthenticationCreate auth tokens for customers or apps
ApplicationsRegister, list, retrieve, and delete calling applications
App SettingsConfigure webhooks for call events, recording, and streaming
UsersMap, list, and manage users within applications
Device ManagementToggle phone/SIP devices for users
Call NotificationsHandle inbound and outbound call notification callbacks
Customer ManagementRetrieve and delete customer accounts

Resources​

HTTP Status Codes​

CodeDescription
200Success
400Bad request / Invalid parameters
401Unauthorized / Invalid token
500Internal server error