Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
workspace_id
string
destination_id
string

destination_id supports subscriptions that already point at an existing endpoint. New user-facing creates instead send delivery_endpoint so the endpoint and subscription can be committed atomically.

name
string
event_types
string[]
filters
object
delivery_endpoint
object

Response

200 - application/json

OK

subscription
object

Subscription is the customer-visible routing rule. User-facing surfaces pair it with its delivery endpoint; destination_id remains the relational link.

delivery_endpoint
object
signing_secret
string
signing_key_id
string