Create a WebSocket ticket
Issues a short-lived JWT for authenticating a WebSocket connection. The token is validated on signature, issuer, audience, and expiry. Obtain it immediately before opening the socket — it expires at expiresAt.
Connect to the WebSocket endpoint using two Sec-WebSocket-Protocol values:
circle-match.v1— identifies the protocol version -ticket.<jwt>— the ticket value from this response, prefixed withticket.The server rejects the upgrade with HTTP 401 if the ticket is missing, expired, or has an invalid signature.
POST
Create a WebSocket ticket