v1

latestOpenAPI 3.0.32026-07-24156161.2 MB
Streams

Get stream token

Retrieve the stream token for a stream. This token authenticates the messaging endpoints (simple_send, template_send, …) for that stream — see the token types in the API Overview.

Authentication: TextPeak API key in the Authorization header (see Authentication in the API Overview).

get/streams/{id}/token

Response

The stream token.

tokenstring

The stream token, sent as the Authorization header value on messaging requests.

Example response

{
  "token": "d2b14ae204e9002338f97b9e45b387cd907f9aa8175b87dfed38373d57c9ff21"
}