Create Embeds Tokens

View as Markdown
Exchanges a public Click-to-Call (C2C) token for a short-lived, private embed guest token used to authorize a call. This allows secure activation of the C2C widget without exposing sensitive credentials. #### 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](/docs/platform/your-signalwire-api-space).

Request

This endpoint expects an object.
tokenstringRequired
Click to Call Token

Response

The request has succeeded and a new resource has been created as a result.
tokenstringformat: "jwt"
Encrypted guest token.

Errors