Create Subscriber guest token
Creates a temporary guest Subscriber token limited to the resource addresses in allowed_addresses. Call it from your server when a user without a full subscriber account needs scoped calling access. The token expires after two hours by default; authenticate this request with a project API token and give only the returned guest token to the client.
Use Create Subscriber token for a known subscriber, or Create guest embed token when exchanging a public Click-to-Call token.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Voice, Messaging, Fax, or Video.
Authentication
SignalWire Basic Authentication using Project ID and API Token.
The client sends HTTP requests with the Authorization header containing the word Basic followed by a space and a base64-encoded string of project_id:token. The project ID will be used as the username and the API token as the password.
Example:
Authorization: Basic base64(project_id:token)
Request
A unixtime (the number of seconds since 1970-01-01 00:00:00) at which the token should no longer be valid. Defaults to 'two hours from now'
A direct routing override specifying the regional cluster endpoint, set as the ch claim in the SAT JWE header.