- API v2: Retrieve parcels (
GET /api/v2/parcels) - API v3: Retrieve shipments (
GET /api/v3/shipments)
- Event subscriptions: Sendcloud sends each change to you.
- Incremental polling: you request only the items that changed since your last sync.
- Lookups by ID: you request only the items that you know.
Use event subscriptions
Let Sendcloud send each parcel status change to your endpoint one time. You do not need to poll for status changes.- API v2: subscribe to the parcel status change webhook (action
parcel_status_changed). See Webhooks overview (API v2). - API v3: use the Event Subscriptions API to subscribe to the
parcels.event.createdevent with awebhookconnection.
Poll for changes with updated_after
If you must poll, request only the items that changed since your last sync. Use the updated_after filter.
1
Save the sync start time
Before you send the first request of a sync, save the current time.
2
Request the changed items
Send the start time of the previous sync as
updated_after. Subtract a small overlap, for example 1 minute.3
Follow all pages
Follow the pagination cursor until there is no next page.
4
Update your data
Insert or update each item by its ID. The overlap can return an item two times, so de-duplicate by ID.
5
Save the new sync time
When all pages are processed, save the time from step 1 for the next sync.
Pagination
Both endpoints use cursor-based pagination.
Use the next page URL as you receive it. Do not build it yourself.
Sort order
The list is always sorted newest-created first. You cannot change this order. The list is not sorted by update time. Thus, do not stop early based on the order of the items. An item that was created a long time ago can be updated recently, and it can be on the last page. Always follow all pages.Time zones
Always send a time zone inupdated_after, for example 2026-11-27T10:00:00Z.
- API v3 requires a time zone.
- API v2 reads a value without a time zone in the time zone of your user account.
Poll interval
A poll interval of some minutes is sufficient for most integrations. Do not poll every second.Example sync loop
Pseudocode
/api/v2/parcels?limit=100&updated_after=.... The items are in the parcels list of the response body.
Look up known items by ID
When you create a parcel or shipment, save the ID from the create response. Then you can get the item directly. Get one item:shipment_uuids takes shipment IDs and ids takes parcel IDs.
Do not look up the same order again and again with order_number. Look up an order number one time, save the ID, and then use the ID or event subscriptions.
Supported filters
The endpoints ignore parameters that they do not support. They do not return an error. They return the unfiltered list.
In API v2, an invalid
updated_after, announced_after or parcel_status value returns an empty list, not an error. Make sure that your values are valid.
For all parameters, see the API reference for API v2 and API v3.
Rate limits
See Rate limits.Mistakes to avoid
Paging through the full list on every sync
Paging through the full list on every sync
Without
updated_after, each sync reads all of your parcels or shipments again. This is slow, and you can reach the rate limit. Use event subscriptions or updated_after.Re-reading a fixed date range on every sync
Re-reading a fixed date range on every sync
Do not request the same period, for example the last 3 months, on every sync. Request only the changes since your last sync with
updated_after.Sending parameters that the endpoint does not support
Sending parameters that the endpoint does not support
The endpoint ignores these parameters and returns the unfiltered list.
- API v2 ignores
date_created_after,date_created_beforeandordering. - API v3 ignores
created_after,limit,orderingand all other parameters that are not in Supported filters. For the page size in API v3, usepage_size.
Polling one order number in a loop
Polling one order number in a loop
Do not request the same
order_number again and again to check for changes. Save the ID and use event subscriptions, or include the item in your incremental sync.