Skip to main content

Registering a webhook for your account

To register a webhook for your account, make a POST request to the webhooks endpoint https://api.goshippo.com/webhooks.
cURL
The event field can take one of the following five values:
  • transaction_created
  • transaction_updated
  • track_updated
  • batch_created
  • batch_purchased
Additionally, you can set the event to all. This acts as a catch-all for all supported events. A successful call to the registration endpoint will return a JSON object.

Retrieving a single webhook

To retrieve a webhook, make a GET request to the webhooks endpoint with the object ID of your webhook https://api.goshippo.com/webhooks/<WEBHOOK_OBJECT_ID_GUID>.
cURL
A successful call returns a JSON object similar to this.
To get a paginated list of all webhooks associated with your account, make a GET request to https://api.goshippo.com/webhooks without an object ID.

Retrieving all active webhooks

To retrieve a list of all webhooks associated with your account, make a GET request to the webhooks endpoint https://api.goshippo.com/webhooks/.
cURL
A successful call returns a JSON object similar to this.

Deleting a webhook subscription

To delete a webhook subscription, make a DELETE request to the webhook endpoint with the object ID of your webhook https://api.goshippo.com/webhooks/<WEBHOOK_OBJECT_ID_GUID>.
cURL
This returns no body but will return a successful 2XX status.
Last modified on July 16, 2026