Skip to content
Esc
↑↓navigate↵open⌘Jpreview
On this page

Webhooks

Send events from the platform to a custom HTTP endpoint.

The Webhooks integration sends each event as a JSON HTTP POST to a custom endpoint you configure. The platform does not interpret or process the response.

Use cases include:

  • Keeping an external search index in sync with catalog changes
  • Triggering internal workflows when users, brands, or collections change
  • Forwarding events into a message queue or event pipeline
  • Building internal dashboards based on real-time data

Event envelope

Each delivery is a single HTTP POST with Content-Type: application/json:

{
  "event_type": "product.updated",
  "payload": {
    ...
  }
}

Authentication uses the configured header. Two headers are added by the platform: User-Agent: Enad Webhooks and X-Correlation-ID, a unique identifier for the delivery that can be used for tracing and logging on your side.

A delivery is considered successful when the endpoint responds with any 2xx status. Other responses are retried. The request timeout is 10 seconds, so the endpoint should acknowledge quickly and process asynchronously.

Event types

Events are grouped by entity. Each group has its own reference page listing the exact event types and payload structure:

Delivery

Events are queued as they happen and delivered by a background worker. Deliveries may arrive out of order, and the endpoint should not assume sequencing.

Failed deliveries are retried up to 8 times, waiting between attempts: 10 s, 20 s, 30 s, 1 m, 5 m, 10 m, 30 m, 1 h. If all attempts fail, the event is marked failed and appears under Status → Integration validation. Private and loopback IP addresses are rejected as endpoints.

Unchanged payloads are not sent again. Before a delivery is enqueued, the payload is compared with the last delivery for the same entity. Deleted entities and stock events are always delivered.

Completed deliveries are kept for 7 days.