/ Docs

Get Realtime Token

Mint a short-lived Centrifugo connection token. The token carries the session facts the org boundary needs (``meta``), so org-scoped channels are authorized like org-scoped REST routes rather than by membership alone. It names no org and grants no org channel by itself: org-scoped subscriptions need a token from ``POST /v1/realtime/subscription-tokens``.

GET
/v1/realtime/token

Authorization

BearerAuth
AuthorizationBearer <token>

Botyard API key — see /docs/authentication.

In: header

Response Body

application/json

curl -X GET "https://example.com/v1/realtime/token"
{
  "token": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "error_code": "string",
  "errors": [
    {
      "pointer": "string",
      "detail": "string",
      "type": "string"
    }
  ],
  "trace_id": "string"
}