Connections
Create a connection
Create a new connection to an external endpoint where event notifications will be delivered.
POST
Create a new connection that defines an external endpoint for event delivery. Webhook connections require aDocumentation Index
Fetch the complete documentation index at: https://sendcloud.dev/llms.txt
Use this file to discover all available pages before exploring further.
url and optionally authentication configuration. Supported authentication types are none, bearer, basic, and api_key.
Klaviyo connections require only the type field set to klaviyo with an empty configuration object. After creating the connection, use the Start OAuth2 authorization endpoint to connect your Klaviyo account.
Webhook URLs must be publicly accessible and respond with a
2xx status code to acknowledge event delivery.Authorizations
Basic Authentication using API key and secrets is currently the main authentication mechanism.
Body
application/json
Request body for creating a new connection.
The type of connection.
Available options:
webhook, klaviyo The configuration for the connection. The shape depends on the connection type.
For webhook connections, see the webhook configuration fields.
For klaviyo connections, configuration can be an empty object as credentials are managed via OAuth2.
Response
Created
Connection created
A connection defines an external endpoint where event notifications are delivered.