Create a subscription
Subscriptions
Create a subscription
Create a new subscription that routes events of a specific type to a connection.
POST
Create a subscription
Create a subscription that routes a specific event type to a connection for delivery. A subscription links an event type (e.g.,Documentation Index
Fetch the complete documentation index at: https://sendcloud.dev/llms.txt
Use this file to discover all available pages before exploring further.
parcels.event.created) to a connection endpoint. When the event occurs, the event payload is delivered to the connection’s configured endpoint.
Subscriptions are active by default. Set
is_active to false to create a paused subscription.Authorizations
Basic Authentication using API key and secrets is currently the main authentication mechanism.
Body
application/json
Request body for creating a new subscription.
The identifier of the connection to deliver events to.
Required range:
x >= 1The type of event to subscribe to.
Available options:
parcels.event.created Whether the subscription should be active immediately. Defaults to true.
Response
Created
Subscription created
A subscription routes a specific event type to a connection for delivery.