Sendcloud webhooks
Sendcloud webhooks are JSON POST requests that Sendcloud sends to the URL set on an integration when one of its parcels changes status, a return is created, or the integration itself changes.
These pages cover webhooks set on an integration. Sendcloud's beta Event Subscriptions API is a separate route: it sends parcels.event.created and parcel.created, names them in event_type, offers bearer, Basic or API key auth rather than this signature, and retries up to 5 times.
How Sendcloud webhooks work
Webhooks push parcel updates to your application, so you don't have to poll the API for each shipment. They belong to one integration: you get events for parcels created through it and for actions that belong to it, and a second integration needs its own configuration. Return parcels only send updates if the outgoing shipment was created through the API integration, and return_created fires for returns made through the API or the Return Portal, but not the manual Return Form.
The body's action field says what happened, and timestamp is required on every payload. parcel_status_changed adds carrier_status_change_timestamp and a parcel object, return_created adds data, and the integration events add integration. Sendcloud publishes schemas for these but no complete example body. The docs give no payload version or event ID.
Key facts
{raw body} The entire request body, exactly as received and before any parsing. Nothing else is signed.
Setting up Sendcloud webhooks
- In Sendcloud, go to Settings > Integrations and click Configure on your Sendcloud API integration. Select Webhook feedback enabled, enter the Webhook url and save. The API can set the same thing with
webhook_activeandwebhook_url. - Repeat this on every integration that creates parcels you need updates for.
- Click Test API webhook to send a test request.
hookdeck listen 3000 sendcloudgives you a public URL that forwards to your machine. - Sendcloud documents no way to resend a failed delivery. Every failed attempt appears in the connection issue log.
Delivery behaviour
10 seconds your endpoint must answer with a 2xx in that time Retries up to 10 attempts over about 90 minutes, on a timeout, an unreachable endpoint, 406, 408, 409, 429 or a 5xx After a failure logged any other 4xx stops delivery at once, and no resend is documented Ordering not guaranteed use the timestamp field to find the most recent update Known failure modes
From Hookdeck's Sendcloud guide →-
A 4xx from your endpoint stops delivery
Sendcloud doesn't retry a
Choose the right status code →400,401,404,422or any other 4xx except406,408,409and429. A broken route or a wrong signing key loses those updates, so read the affected parcels from the API after you fix it. -
An outage outlasts the retries
Sendcloud makes up to 10 attempts in about an hour and a half, then stops. Each failure is in the connection issue log, and no resend is documented, so reconcile from the API after a longer outage.
Recover from missed updates → -
An older status arrives after a newer one
Sendcloud webhooks can arrive out of order, for example after your application was unreachable. Compare each payload's
Handle out-of-order updates →timestampwith the latest you've stored for that parcel before you apply it. -
A retried update has no event ID
A handler that takes longer than 10 seconds is retried even if its work finished, and the payloads have no event ID to deduplicate on. Build a key from
Deduplicate without an event ID →action,parcel.id,parcel.status.idandtimestamp.
Sendcloud webhook best practices
- Return a 2xx within 10 seconds. Verify the signature, store the body and respond, then update orders and message customers in a background job.
- Answer temporary problems with a 5xx.
A
400,401,404or422stops delivery with no retry. Use503when a dependency is down, so Sendcloud tries again. - Apply updates by
timestamp. Keep the latesttimestampper parcel and ignore anything older, because deliveries can arrive out of order. - Build your own idempotency key.
There's no event ID. Combine
action,parcel.id,parcel.status.idandtimestampfor parcel updates, and usedata.idfor returns. - Configure every integration you track. A parcel created through a shop integration never reaches your API integration's webhook.
- Reconcile after an outage. Retries end after about an hour and a half, so read open parcels from the API once you've recovered.
Common Sendcloud webhook events
Parcels and returns
parcel_status_changed | Parcel created through this integration moves to a new status |
return_created | Return is created through the API or Return Portal |
Integrations
integration_connected | Integration is created in Sendcloud |
integration_updated | Integration is updated in Sendcloud |
integration_deleted | Integration is deleted from Sendcloud |
Events by resource
| Resource | Events | Payloads |
|---|---|---|
integration | 3 | 0 |
1 more resource, including Other Sendcloud events. All 5 events →
In this hub
| Webhook events → | Every covered Sendcloud event, with payloads where the registry has them. |
| MCP events → | How an agent subscribes to Sendcloud events as MCP events. |
| Verify signatures → | Signature facts, verification code and common failures. |
| Production guide → | Production problems, such as timeouts and retries, and how to handle them. |
| Agent skill → | Install the webhook skill in your coding agent. npx skills add hookdeck/webhook-skills --skill sendcloud-webhooks |
Keep a bad deploy from losing Sendcloud parcel updates.
Sendcloud stops at the first 401 or 404 and gives up on an outage after about 90 minutes. Event Gateway verifies the signature, accepts each update and queues it for your service, so you can retry or replay it once your service is healthy.