Webphone SDK
Webphone SDK
Browser calling, designed for your interface.
The web-only JavaScript SDK connects your browser interface to IllyVoIP SIP over WSS. Use managed browser tokens to keep the permanent API key on your backend.
Account API key→Short-lived token
Authorized SIP identity→Your interface
Webphone SDK
Browser calling capabilities
- Managed browser-token authentication with credential refresh, or explicit raw SIP credentials.
- Region and SIP identity selection, SIP over WSS, DTLS-SRTP, ICE and TURN.
- Device selection, call transfer, custom SIP headers and live WebRTC diagnostics.
- Built-in ringtone and ringback with configurable cadence, frequency, volume or audio sources.
- Ordered region fallback for managed signaling and a self-hosted bundle with TypeScript definitions and checksummed runtime files.
The authenticated SDK playground is for managed-token setup, diagnostics, device selection and live call controls. It is separate from the HTTP API playground.
SDK reference
Installation
Load the hosted browser asset or install the versioned, self-hosted SDK bundle.
Managed authentication
Authenticate browser calls with short-lived tokens issued by your backend.
Backend token endpoint
Create tokens for the SIP identity authorized by your application’s signed-in user.
Raw SIP mode
Supply explicit SIP credentials and transport settings for an advanced integration.
Custom SIP headers
Attach application metadata to registration, outgoing calls and answers.
Diagnostics & call statistics
Check browser readiness and inspect live WebRTC statistics.
Region fallback
Configure an ordered list of regions for managed signaling.
Call control
Control calls through the phone and call objects.
SDK method reference
The documented lifecycle, calling, device and configuration methods.
Runtime and version
This reference follows Web SDK v1.4.2, as documented in the portal. The SDK is separate from IllyVoIP’s Windows, iOS and Android apps.