get
https://gw.commpeak.com/textpeak/streams//token/reset
Description
Summary: Resets the authentication token for a specific stream. Details: This endpoint invalidates the current token associated with the specified stream ID and generates a new one. This is useful when a token has been compromised or needs to be rotated for security purposes. After resetting, any previously issued token for the stream will no longer be valid, and the new token must be used for subsequent stream-level operations such as sending messages via the simple_send endpoint.
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 whose token should be reset. In the URL pattern /streams/{id}/token/reset, replace {id} with the stream ID. |
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…