cURL
curl --request PUT \ --url https://api.wavix.com/v2/webrtc/tokens/{uuid} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "payload": {} }'
{ "uuid": "550e8400-e29b-41d4-a716-446655440000", "sip_trunk": "my-sip-trunk", "payload": {}, "ttl": 3600 }
Updates the payload for a Wavix Embeddable widget token.
Bearer token using appid (Authorization: Bearer )
Token ID
Widget token payload.
Arbitrary data to be associated with the token
{}
Widget token updated.
"550e8400-e29b-41d4-a716-446655440000"
SIP trunk name
"my-sip-trunk"
Arbitrary data associated with the token
Time to live, in seconds
3600
Was this page helpful?
Contact support