Connect API

Spoke Connect Webhook API

Receive a signed call at your own URL when one of your orders is scheduled, goes out for delivery, gets a tracking link, or has a delivery attempt.

The Spoke Connect Webhook API lets Spoke tell you when one of your orders changes, so you do not have to poll GET /orders to find out.

Spoke will notify your application when an order is scheduled, goes out for delivery, gets a tracking link, or has a delivery attempt.

How does it work

When your endpoint is enabled in Connect to receive events, Spoke pushes real-time notifications to it. Each notification is a signed POST that contains the type of event, the epoch timestamp of when it occurred, and the order itself, in the same shape the API returns.

Webhooks are off until you turn them on, and no event is selected by default, so saving a URL never sends traffic you did not ask for.

To start, see Getting started. For the list of events and the message body, see Webhook Events.

Was this page helpful?

On this page