API Reference

Create short-lived stream token

Mints a single-use, five-minute stream token for an authenticated principal with at least one workflow entitlement. This mutates token storage but no execution state; the token can authenticate GET /v1/streams/events without exposing the API key in its URL.

POST/v1/streams/token

Mints a single-use, five-minute stream token for an authenticated principal with at least one workflow entitlement. This mutates token storage but no execution state; the token can authenticate GET /v1/streams/events without exposing the API key in its URL.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/streams/token"
{  "expiresIn": 0,  "token": "string"}