v2 - Notifications

Mint Notifications Socket Token

A five-minute token for the notifications WebSocket, bound to the caller's profile and to that socket's audience (2026-09-28).

The socket used to take the Firebase session cookie on its URL, which meant the dashboard returned that five-day, every-route credential to page script. This token is what page script gets instead: the socket verifies its signature, audience and expiry (notification_socket_token.verify_socket_token) and maps it to the profile; the API's bearer chain does not accept it at all. The caller proves who they are with their ordinary credential to reach this route.

post/v2/notifications/socket-token

Request

  • Base URL
    https://api.jubjubapp.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Headers

Authorizationstring
X-JubJub-Service-Keystring
X-JubJub-Agent-Keystring
X-JubJub-Platform-Keystring
Originstring
Refererstring
X-JubJub-Trial-Tokenstring

Response

Successful Response

tokenstring required
expires_ininteger required
audiencestring required

Changes

No recorded changes to this operation across all 1 revision of this API.