Skip to main content
POST
Mint a WebSocket token
See the WebSocket integration guide for how to use the token and URL this returns.

Authorizations

API-Token
string
header
required

16-character API token associated with your OSVI account. Find it in your dashboard under Settings → API.

Path Parameters

id
string
required

The session UUID (from Create Session or Get Active Session).

Example:

"4718a326-417b-4dda-90d0-21fd65a11cb8"

Body

application/json
stream
enum<string>
required

Which stream to mint a token for. Only user is available with an API token.

Available options:
user
Example:

"user"

Response

Token minted.

success
boolean
Example:

true

data
object