Webhooks
Endpoints
GET /api/v1/webhooks
GET /api/v1/webhooksScoped API key. Scopes: read, commerce, admin.
Max items to return (1–100, default 20)
20Number of items to skip (default 0)
0Filter by active status
Paginated list of webhook subscriptions
API key missing or invalid
No content
POST /api/v1/webhooks
POST /api/v1/webhooksRegister a webhook subscription for event callbacks. Use `GET /webhooks/event-types` to discover available event type names. Subscribing to `*` receives all events.
Scoped API key. Scopes: read, commerce, admin.
Idempotency key to safely retry without creating duplicates
Public HTTPS endpoint that will receive POST requests.
Event type names to subscribe to. Use * for all events.
Webhook subscription created. The response includes the secret (shown once) used to verify payloads — see signature scheme in the description.
No content
Validation error
No content
DELETE /api/v1/webhooks/{id}
DELETE /api/v1/webhooks/{id}GET /api/v1/webhooks/{id}
GET /api/v1/webhooks/{id}PATCH /api/v1/webhooks/{id}
PATCH /api/v1/webhooks/{id}Scoped API key. Scopes: read, commerce, admin.
Webhook updated
No content
Webhook updated
No content
GET /api/v1/webhooks/{id}/deliveries
GET /api/v1/webhooks/{id}/deliveriesList delivery history for a webhook subscription with optional status and time-range filtering
Scoped API key. Scopes: read, commerce, admin.
Webhook subscription ID
Max items to return (1–100, default 20)
20Number of items to skip (default 0)
0Filter by delivery status (pending | retrying | delivered | dead_letter)
Return deliveries created at or after this ISO 8601 timestamp
Return deliveries created at or before this ISO 8601 timestamp
Paginated delivery history
Webhook subscription not found
GET /api/v1/webhooks/{id}/deliveries/{deliveryId}
GET /api/v1/webhooks/{id}/deliveries/{deliveryId}Get a single delivery record including request payload, response body, and attempt history
Scoped API key. Scopes: read, commerce, admin.
Webhook subscription ID
Delivery ID
Delivery record
A single webhook delivery attempt record.
The event type that triggered this delivery.
Current delivery status. dead_letter means max retry attempts were exhausted.
HTTP status code returned by the consumer endpoint.
First 1000 chars of the consumer response body.
Number of delivery attempts made so far.
Maximum number of attempts before dead-lettering.
When the next retry is scheduled (null if delivered or dead-lettered).
Not found
POST /api/v1/webhooks/{id}/deliveries/{deliveryId}/replay
POST /api/v1/webhooks/{id}/deliveries/{deliveryId}/replayReplay a delivery — re-enqueues the original payload for re-delivery. Works for any status including dead_letter.
Scoped API key. Scopes: read, commerce, admin.
Webhook subscription ID
Delivery ID
Replay enqueued. The delivery will be re-attempted asynchronously and its status updated.
No content
Not found
No content
GET /api/v1/webhooks/event-types
GET /api/v1/webhooks/event-typesList all supported webhook event types that can be used in subscription `events` arrays
Scoped API key. Scopes: read, commerce, admin.
List of platform-supported event types
List of platform-supported event types
Last updated
Was this helpful?
