Skip to main content

Streams API

Create stream subscriptions and poll replay-safe stream events.

Use This API To

  • List and create stream subscriptions.
  • Poll canonical stream events with cursor semantics.
  • Build replay-safe delivery workflows for event consumers.

Before You Call

1

Choose event filters before creating a subscription

Choose event filters before creating a subscription.
2

Persist cursors after processing events

Persist cursors after processing events.
3

Use event IDs for idempotent downstream processing

Use event IDs for idempotent downstream processing.

Endpoints

GET /v1/stream_subscriptions

List stream subscriptions for the current organization

POST /v1/stream_subscriptions

Create a stream subscription for event polling and replay

GET /v1/stream_subscriptions/{stream_id}/events

Poll canonical stream events for a subscription with cursor semantics