Create stream subscription

Create a stream subscription for event polling and replay.

post/v1/stream_subscriptions

Request

  • Base URL: https://api.turos.app
  • URL: https://api.turos.app/v1/stream_subscriptions
  • Auth: HTTP bearer

Request body

descriptionstring nullable
eventTypesstring[]

Delivery event types from GET /v1/event_types. Supports exact event names, *, and namespace wildcards such as monitor.*.

transport'poll' | 'webhook_mirror' | 'websocket'
livemodeboolean

Response

Stream subscription created.

object'stream_subscription' required
idstring required
createdAtstring required
updatedAtstring required
livemodeboolean required
orgIdstring required
descriptionstring nullable required
eventTypesstring[] required
transport'poll' | 'webhook_mirror' | 'websocket' required
status'active' | 'paused' required
cursorstring nullable required
lastEventAtstring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.