Skip to content

Webhooks Overview

Webhooks allow your external system to receive real-time HTTP notifications when events occur in the N’entropy platform.

  1. Register a webhook URL for specific events
  2. When an event occurs, we send a POST request to your URL
  3. Your server responds with 2xx to acknowledge receipt
  4. Failed deliveries are retried automatically
Terminal window
POST /api/v1/integration/webhook-events
Authorization: Bearer eudr_live_your_token
Content-Type: application/json
{
"url": "https://your-server.com/webhooks/eudr",
"events": ["supplier.created", "supplier.updated", "sync.completed"]
}

Response includes a secret for signature verification:

{
"id": "wh_abc123",
"url": "https://your-server.com/webhooks/eudr",
"events": ["supplier.created", "supplier.updated", "sync.completed"],
"active": true,
"secret": "whsec_...",
"createdAt": "2024-01-15T10:00:00.000Z"
}

Navigate to Integrations → Webhooks, select your integration, and click Add Webhook.

Every webhook delivery includes:

{
"event": "supplier.created",
"timestamp": "2024-01-15T10:30:00.000Z",
"integrationId": "int_abc123",
"data": {
"externalId": "VENDOR-001",
"internalId": "clx..."
}
}
HeaderDescription
Content-Typeapplication/json
X-Webhook-SignatureHMAC-SHA256 signature for verification
X-Webhook-EventEvent type (e.g., supplier.created)
X-Webhook-IdWebhook endpoint ID
X-Webhook-TimestampISO timestamp of the event
User-AgentEUDR-Platform-Webhook/1.0
  • 3 retry attempts on failure
  • Delays: 1 second, 5 seconds, 30 seconds
  • A 2xx response resets the failure counter
  • After 10 consecutive failures, the webhook is automatically disabled

Your endpoint must respond within 10 seconds. Slow responses are treated as failures.