Create a widget token
Wavix Embeddable
Create a widget token
Creates a Wavix Embeddable widget token.
POST
Create a widget token
Authorizations
Wavix API key. Pass as Authorization: Bearer <api_key>. Keys support per-resource scopes (none / read / write). See Restricted keys and scopes.
Body
application/json
Widget token configuration.
Response
Widget token created.
Wavix Embeddable Widget token.
Example:
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
Token ID
Example:
"550e8400-e29b-41d4-a716-446655440000"
SIP trunk name
Example:
"my-sip-trunk"
Arbitrary data associated with the token
Example:
{}Time to live, in seconds
Example:
3600