Skip to main content

RefreshRealtimeToken issues a fresh Centrifugo connection token before the current one expires.

POST 

/api/v1/engagements/realtime/token/refresh

Connection tokens are short-lived (typically 1h) so a compromised token has a small blast radius. Clients should call this from Centrifugo's getToken callback well before expiry; the server returns a new connection_token bound to the same authenticated user/org context.

This is the "renew without reconnect" path. Falling back to GetAgentTokens still works for clients that need a full re-handshake (e.g., after a long sleep where the WebSocket was already torn down).

Errors

  • UNAUTHENTICATED: No valid session

Responses

A successful response.