get
https://gw.commpeak.com/textpeak/streams/36/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.
| Method | Details |
|---|---|
| API Key | Pass your API key directly in the Authorization header value (not as a Bearer token). |
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | The API key that verifies your access to the API. |
accept | No | Expected response format. Default: application/json. |
Parameters
| Parameter | Type | Location | Required | Description |
|---|---|---|---|---|
id | number | Path | Yes | The 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
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…