Reset token

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.

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 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
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Response

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