Skip to main content

Create a webhook

Webhooks allow you to send notifications of Delivery Gateway events to a third-party service. For example, you can set up a webhook to send an event notification when a shipment is created or when a customer updates their address.

Our webhooks send a JSON payload, the content of which depends on the triggering event. One webhook is one event: create a webhook for each of the events you need to send notifications about.

Create a webhook

  1. Log in to the Delivery Gateway admin dashboard.
  2. From Integrations, select Webhooks.
  3. Click New webhook.
  4. From the Webhook dropdown menu, select the event that should trigger the webhook. Example webhook config
  5. From Transport, select REST.
  6. Enter the service URL in the URL field.
  7. Click Create.

Webhook events

EventEvent ID
Notification when a configuration changesCONFIGURATION_UPDATED
Notification when customer creates a new addressADDRESS_CREATED
Notification when customer updates an existing addressADDRESS_UPDATED
Notification when customer deletes an existing addressADDRESS_DELETED
Notification when a shipment is createdSHIPMENT_CREATED
Notification when a shipment is updatedSHIPMENT_UPDATED
Notification when a shipment is deletedSHIPMENT_DELETED