Subscriber Tokens

Create guest embed token

Exchanges a public Click-to-Call token for a short-lived guest Subscriber token consumed by the Click-to-Call embed client. Use it only for a public embed flow that must place a call without exposing project credentials or requiring a full subscriber account.

Use Create Subscriber guest token when your server chooses the guest's allowed resource addresses, or Create Subscriber token for a known subscriber.

Permissions

The API token used to authenticate must have the following scope(s) enabled to make a successful request: Voice, Messaging, Fax, or Video.

Learn more about API scopes.

post/api/fabric/embeds/tokens

Request body

tokenstring required

Click to Call Token

Example request

{
  "token": "c2c_7acc0e5e968706a032983cd80cdca219"
}

Response

The request has succeeded and a new resource has been created as a result.

tokenstring jwt required

Encrypted guest token.

Example response

{
  "token": "eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIiwiY2giOiJwdWMubHZoLm1lIiwidHlwIjoiU0FUIn0.."
}

Changes

No changes found, but 3 of the 138 revisions have a changelog that could not be searched — this endpoint may have changed in one of them.