curl --request POST \
--url https://panel.sendcloud.sc/api/v3/event-subscriptions/connections \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "webhook",
"configuration": {
"url": "https://example.com/webhooks/sendcloud",
"auth_type": "bearer",
"auth_config": {
"token": "my-secret-token"
},
"extra_headers": {
"X-Custom-Header": "my-value"
}
}
}
'{
"data": {
"id": 1,
"type": "webhook",
"configuration": {
"url": "https://example.com/webhooks/sendcloud",
"auth_type": "bearer",
"extra_headers": {
"X-Custom-Header": "my-value"
}
},
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-01-15T10:30:00Z"
}
}Connections
Create a connection
Create a new connection to an external endpoint where event notifications will be delivered.
POST
/
event-subscriptions
/
connections
curl --request POST \
--url https://panel.sendcloud.sc/api/v3/event-subscriptions/connections \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "webhook",
"configuration": {
"url": "https://example.com/webhooks/sendcloud",
"auth_type": "bearer",
"auth_config": {
"token": "my-secret-token"
},
"extra_headers": {
"X-Custom-Header": "my-value"
}
}
}
'{
"data": {
"id": 1,
"type": "webhook",
"configuration": {
"url": "https://example.com/webhooks/sendcloud",
"auth_type": "bearer",
"extra_headers": {
"X-Custom-Header": "my-value"
}
},
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-01-15T10:30:00Z"
}
}OAuth2 scopes required:
write:event-subscription. See Scopes for OAuth apps.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
HTTPBasicAuthOAuth2ClientCreds
Body
application/json
Request body for creating a new connection.