---
title: "Mint a browser softphone session"
method: POST
path: "/v1/voice/calls/web"
tags: ["Voice"]
---

# Mint a browser softphone session

`POST /v1/voice/calls/web`

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).

## Response `200`

WebRTC session minted.

- object
  - `success` boolean
  - `token` string — Login token for the browser WebRTC SDK.
  - `credentialId` string — Pass to POST /v1/voice/calls/web/dial once the browser is registered.
  - `expiresAt` string, date-time
  - `sdk` string

## Other responses

- `401` — Unauthorized
- `502` — Failed to mint the WebRTC session

---

[API](https://skmtc.net/zernio/apis/zernio-api.md) · [All operations](https://skmtc.net/zernio/apis/zernio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zernio/zernio-api/versions/51932b099b2f/schema)
