Wavix Embeddable
Create a widget token
Creates a Wavix Embeddable widget token that authenticates a browser-based softphone session. The token expires after ttl seconds.
post/v2/webrtc/tokens
Request body
Example request
{
"sip_trunk": "my-sip-trunk",
"payload": {},
"ttl": 3600
}Response
Returns the created widget token.
Example response
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"sip_trunk": "my-sip-trunk",
"payload": {},
"ttl": 3600
}