Skip to main content
GET
/
v2
/
webrtc
/
tokens
/
{uuid}
Get a Wavix Embeddable Widget token
curl --request GET \
  --url https://api.wavix.com/v2/webrtc/tokens/{uuid} \
  --header 'Authorization: Bearer <token>'
{
  "uuid": "550e8400-e29b-41d4-a716-446655440000",
  "sip_trunk": "my-sip-trunk",
  "payload": {},
  "ttl": 3600
}

Authorizations

Authorization
string
header
required

Bearer token using appid (Authorization: Bearer )

Path Parameters

uuid
string<uuid>
required

Token ID.

Response

The widget token

uuid
string
required

Token ID

Example:

"550e8400-e29b-41d4-a716-446655440000"

sip_trunk
string
required

SIP trunk name

Example:

"my-sip-trunk"

payload
object

Arbitrary data associated with the token

Example:
{}
ttl
integer | null

Time to live, in seconds

Example:

3600