GetAgentTokens generates Centrifugo tokens for an authenticated agent.
GET/api/v1/engagements/realtime/tokens
Returns:
- Connection token for WebSocket auth
- Subscription tokens for default channels
- Centrifugo WebSocket URL
Default Channels
user:{user_id}- Personal notificationsorg:{org_id}:inbox- Inbox updatesorg:{org_id}:agents- Agent presenceengagement:{id}- For each active engagement
Responses
- 200
- default
A successful response.
An unexpected error response.