Create subscription
Creates a new subscription to a data stream. Once created, data collection begins immediately. You can export collected data using the Exports API.
The spans array in the response is always empty on create. To retrieve the
initial active span, call GET /v1/subscriptions/{id}/spans.
Authorizations
Your API key. Get one from the dashboard at https://app.ticksupply.com/api-keys
Headers
Unique key for idempotent requests. If you retry a request with the same key, you'll receive the original response without the operation being performed again.
Must be a valid UUID (any version — v4 recommended for uniqueness), up to 128 characters.
128Body
Datastream ID to subscribe to
Response
Subscription created successfully
Prefixed subscription ID (e.g., sub_550e8400e29b41d4a716446655440000)
^sub_[a-f0-9]{32}$"sub_550e8400e29b41d4a716446655440000"
Current subscription status
active, paused, deleted Simplified datastream information for catalog queries
When the subscription was created
Active and historical collection spans for the subscription. Always empty
on the create response — call GET /v1/subscriptions/{id}/spans to retrieve
the initial active span.