Pular para o conteúdo

Get Subscription Token

POST
/api/v1/realtime/subscription-token

Get a subscription token for a specific channel.

This is needed for private channels that require authentication.

x-tenant-id
Any of:
integer
SubscriptionTokenRequest

Request for a subscription token.

object
channel
required
Channel
string

Successful Response

SubscriptionTokenResponse

Response containing subscription token.

object
token
required
Token
string

Validation Error

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