---
title: "Create stream subscription"
method: POST
path: "/v1/stream_subscriptions"
---

# Create stream subscription

`POST /v1/stream_subscriptions`

## Request

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

Create a stream subscription for event polling and replay.

## Request body

- object
  - `description` string, nullable
  - `eventTypes` string[]: Delivery event types from GET /v1/event_types. Supports exact event names, `*`, and namespace wildcards such as `monitor.*`.
  - `transport` 'poll' | 'webhook_mirror' | 'websocket'
  - `livemode` boolean

## Response `201`

Stream subscription created.

- StreamSubscription
  - `object` 'stream_subscription', required
  - `id` string, required
  - `createdAt` string, required
  - `updatedAt` string, required
  - `livemode` boolean, required
  - `orgId` string, required
  - `description` string, nullable, required
  - `eventTypes` string[], required
  - `transport` 'poll' | 'webhook_mirror' | 'websocket', required
  - `status` 'active' | 'paused', required
  - `cursor` string, nullable, required
  - `lastEventAt` string, nullable, required

## Other responses

- `default`: Contract-aware error response

---

[API](https://skmtc.dev/turos/apis/turos-api.md) · [All operations](https://skmtc.dev/turos/apis/turos-api/llms.txt) · [OpenAPI document](https://skmtc.dev/turos/apis/turos-api/revisions/a68d3ec80a56?raw)
