curl --request PATCH \
--url https://panel.sendcloud.sc/api/v3/event-subscriptions/connections/{id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "webhook",
"configuration": {
"url": "https://example.com/webhooks/sendcloud-v2"
}
}
'
{
"data": {
"id": 1,
"type": "webhook",
"configuration": {
"url": "https://example.com/webhooks/sendcloud-v2",
"auth_type": "api_key",
"extra_headers": {
"X-Custom-Header": "my-value"
}
},
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-01-20T14:00:00Z"
}
}
Connections
Update a connection
Update an existing connection by its id. Only the fields provided in the request body will be updated.
PATCH
/
event-subscriptions
/
connections
/
{id}
curl --request PATCH \
--url https://panel.sendcloud.sc/api/v3/event-subscriptions/connections/{id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "webhook",
"configuration": {
"url": "https://example.com/webhooks/sendcloud-v2"
}
}
'
{
"data": {
"id": 1,
"type": "webhook",
"configuration": {
"url": "https://example.com/webhooks/sendcloud-v2",
"auth_type": "api_key",
"extra_headers": {
"X-Custom-Header": "my-value"
}
},
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-01-20T14:00:00Z"
}
}
OAuth2 scopes required:
write:event-subscription. See Scopes for OAuth apps.Updating a connection’s configuration may affect all subscriptions that use this connection.
Authorizations
HTTPBasicAuthOAuth2ClientCreds
Body
application/json
Request body for updating an existing connection. Send at least one field.