Skip to main content

Allows the creation of a streaming events subscription

POST 

/subscriptions

Creates a subscription to a stream so you can consume its events. If a matching subscription already exists, that subscription is returned instead of creating a duplicate. Use the returned subscription identifier to consume events, commit cursors, query stats, and delete the subscription when you no longer need it.

Request

Responses

Subscription already exists. Returns subscription object that already existed.