Skip to main content
POST
Issue a WebSocket token

Authorizations

Authorization
string
header
required

Privy-issued JWT. Required for L1 routes; accepted on L2 routes.

Response

Created

token
string

Single-use token. Pass as ?token= on the WS upgrade.

expires_in
integer

Seconds until the token expires.

Example:

60