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.

5 events covered

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

Signature header
Sendcloud-Signature

Format: <lowercase hex>

Scheme
HMAC-SHA256
Signed material
{raw body}

The entire request body, exactly as received and before any parsing. Nothing else is signed.

How events are identified
action field in the body
Body format
JSON

Content type: application/json.

Other headers
content-type
Envelope
action, timestamp
Agent skill
npx skills add hookdeck/webhook-skills --skill sendcloud-webhooks

Verify Sendcloud webhooks →

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_active and webhook_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 sendcloud gives 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

  1. A 4xx from your endpoint stops delivery

    Sendcloud doesn't retry a 400, 401, 404, 422 or any other 4xx except 406, 408, 409 and 429. A broken route or a wrong signing key loses those updates, so read the affected parcels from the API after you fix it.

    Choose the right status code →
  2. 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 →
  3. 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 timestamp with the latest you've stored for that parcel before you apply it.

    Handle out-of-order updates →
  4. 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 action, parcel.id, parcel.status.id and timestamp.

    Deduplicate without an event ID →

Sendcloud webhook best practices

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

integration_connected · _deleted · _updated

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.

Not affiliated with Sendcloud. Facts are compiled from public sources and linked inline.