Get stream token

Description

Summary: Retrieves an authentication token for a specific stream. Details: This endpoint generates and returns a token associated with the specified stream ID. The token is used to authenticate subsequent stream-level operations such as sending messages via the simple_send endpoint, where it is passed in the Authorization header. Each token is scoped to a single stream.

Authentication & Scopes

Authentication is handled via an API key provided in the Authorization header. No OAuth scopes are defined; access is granted or denied based on the validity of the key.

MethodDetails
API KeyPass your API key directly in the Authorization header value (not as a Bearer token).

Headers

HeaderRequiredDescription
AuthorizationYesThe API key that verifies your access to the API.
acceptNoExpected response format. Default: application/json.

Parameters

ParameterTypeLocationRequiredDescription
idnumberPathYesThe unique identifier of the stream for which to generate a token. In the URL pattern /streams/{id}/token, replace {id} with the stream ID (e.g., 36).

Request Body

This endpoint does not use a request body.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json