Sendbird/createUserToken

Online calls unavailable · details below

SendbirdSendbird Chat Platform server-side API v3

POST/v3/users/{user_id}/token

Create a user session token

Issues a session token for authenticating a user with the given user_id. Session tokens are not stored in the Sendbird database, providing an efficient stateless authentication method, and this endpoint supersedes the deprecated alternative.

Manage users, group channels, open channels, messages, metadata, moderation, bots, and announcements through the official Sendbird Chat Platform API v3. The complete boundary is the 83 REST endpoints reconstructed from a pinned official generated SDK revision; client realtime protocols and Chat SDKs are not part of this collection. Application data is the caller's private content, so Pontx does not proxy, cache, or aggregate it and callers use the local SDK/CLI directly.

Request

operationId
createUserToken
Server
https://api-{app_id}.sendbird.com
Authentication
apiTokenAuth

Request parameters

user_id

pathstringrequired

User identifier.

user_id_123

Request body

CreateUserTokenRequest

Properties: expires_at

Responses

200

CreateUserTokenResponseapplication/json

Request succeeded.

Properties: expires_attoken

400

SendbirdApiErrorapplication/json

Request parameters are invalid.

Properties: codemessage

401

SendbirdApiErrorapplication/json

Unauthenticated or the API token is invalid.

Properties: codemessage

403

SendbirdApiErrorapplication/json

Access to the resource is forbidden.

Properties: codemessage

404

SendbirdApiErrorapplication/json

The requested resource was not found.

Properties: codemessage

429

SendbirdApiErrorapplication/json

Rate limited; retry later.

Properties: codemessage

500

SendbirdApiErrorapplication/json

Upstream internal error.

Properties: codemessage

{
  "expires_at": 1,
  "token": "next_page_token_abc"
}