Pular para o conteúdo

Get Connection Token

GET
/api/v1/realtime/token

Get a Centrifugo connection token for the current user.

Returns: - token: JWT token for Centrifugo connection - url: WebSocket URL to connect to - channels: Available channel names for this user

x-tenant-id
Any of:
integer

Successful Response

TokenResponse

Response containing Centrifugo connection token.

object
token
required
Token
string
url
required
Url
string
channels
required
Channels
object

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string