Help · Developers
Developers: API keys and webhooks
Create API keys, choose scopes, call the REST API, receive signed webhooks, verify signatures, read the request log and handle errors and limits.
9 articles
Developers: API keys and webhooks: every article
- Create an API keyCreate a key for each system that calls the REST API, choose its scope, limit it to one sender if needed, store it safely and revoke it when no longer used.
- API key scopes and sender-bound keysWhat the read, write and admin scopes allow, which endpoint needs which scope, and what changes when a key is limited to one sender's parcels.
- Make your first API requestFind your API base address, check that you can reach it without a key, then list your shipments with a key, page through the results and read the answer.
- Receive events with webhooksAdd a webhook endpoint, choose the events to receive, send a test event, and learn how deliveries are made, retried, paused and logged, with every event listed.
- Verify webhook signaturesCheck that a webhook came from your workspace: read the signature header, recompute the HMAC-SHA256 over the raw body and reject stale or altered messages.
- API errors and rate limitsHow the REST API reports errors, every error code it can answer with, the per-key rate limit and its headers, and what your integration should do about each.
- Idempotency keys and safe retriesUse an Idempotency-Key so a booking retried after a timeout is never made twice, learn which errors are worth retrying, and handle repeated webhook events.
- Read the request log and webhook deliveriesFind every API call and every webhook delivery on the Developers screen: status, timing, key, attempts and the body sent, and how long each log is kept.
- Let your senders connect their own systemsYour business customers can create their own API keys and webhook endpoints in the sender portal, limited to their account. What they can do and what you see.
Go deeper
Related features, use cases and guides
What the software does
Rather ask a person?
Tell us which screen you are on and what you expected to happen, and we will point you to the answer.