v2

latestOpenAPI 3.1.02026-08-075421692.0 MB
Voice

Mint a browser softphone session

Step 1 of the two-step browser softphone handshake. Mints a WebRTC session (token + credential) the browser registers with the @telnyx/webrtc SDK. Once registered, call POST /v1/voice/calls/web/dial with the returned credentialId to place the call. The split avoids bridging to a browser that has not finished registering. The token lives ~1 hour (it must outlive the whole call, not just the handshake).

post/v1/voice/calls/web

Response

WebRTC session minted.

successboolean
tokenstring

Login token for the browser WebRTC SDK.

credentialIdstring

Pass to POST /v1/voice/calls/web/dial once the browser is registered.

expiresAtstring date-time
sdkstring

Example response

{
  "sdk": "@telnyx/webrtc"
}