Inbound Idempotency
Why You Would Use This
Section titled “Why You Would Use This”Many providers retry webhook deliveries. Without idempotency controls, the same upstream event can be accepted multiple times and forwarded multiple times.
Inbound idempotency lets you define which incoming headers HookBridge should use as the dedupe identity for that endpoint.
How It Works
Section titled “How It Works”Inbound dedupe is configured per endpoint using idempotency_header_names.
HookBridge builds an idempotency key from the configured header list (in order).
When the same key is received again for the same inbound endpoint:
- HookBridge does not create, enqueue, or forward a second inbound delivery to your destination URL.
- HookBridge returns an ingest success response to the sender with the original
message_idindata.message_id.
curl -X PATCH https://api.hookbridge.io/v1/inbound-endpoints/YOUR_INBOUND_ENDPOINT_ID \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "idempotency_header_names": ["Idempotency-Key", "X-Event-ID"] }'Console Workflow
Section titled “Console Workflow”- Open Endpoints -> Inbound.
- Open your inbound endpoint.
- Set idempotency header names based on provider docs.
- Save changes.
- Send duplicate test events from provider tools and confirm dedupe behavior.
API Workflow
Section titled “API Workflow”API reference:
1) Configure idempotency headers
Section titled “1) Configure idempotency headers”curl -X PATCH https://api.hookbridge.io/v1/inbound-endpoints/YOUR_INBOUND_ENDPOINT_ID \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "idempotency_header_names": ["Idempotency-Key", "X-Event-ID"] }'2) Validate endpoint config
Section titled “2) Validate endpoint config”curl https://api.hookbridge.io/v1/inbound-endpoints/YOUR_INBOUND_ENDPOINT_ID \ -H "Authorization: Bearer YOUR_API_KEY"Configuration Tips
Section titled “Configuration Tips”- Prefer provider-native immutable event IDs.
- Include fallback header names only if they are stable and consistently present.
- Keep header order intentional because
idempotency_header_namesis ordered.
Personalize Examples
Enter your credentials to populate code examples throughout the docs.