Mint a notifications WebSocket ticket

View as Markdown

Mints a short-lived signed ticket the browser passes on the /notifications/ws upgrade (which can’t carry a bearer header).

Authentication

AuthorizationBearer

WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.

Response

The signed WebSocket-upgrade ticket and connection URL.

ticketstring
expiresInSecondsdouble
wsUrlstring

Errors

401
Unauthorized Error