Dispatches an event notification to a configured webhook endpoint
This webhook is triggered when a significant event occurs within the system that a partner might be interested in. The payload contains details about the event type and the associated data.
Request
The webhook will be sent as an HTTP POST request to the URL configured
for the webhook. The body of the request will be a JSON payload
(application/json) containing an ApiWebhookContainer.
Headers
The following headers will be included in the request, adhering to the Standard Webhooks specification:
content-type: application/json: Indicates the payload format.webhook-id: A unique UUID (version 4) identifying this specific delivery attempt. This can be used for idempotency and logging.webhook-timestamp: A string representing the Unix timestamp (seconds since epoch) of when the webhook notification was sent.webhook-signature: A signature to verify the authenticity and integrity of the payload. The format isv1=<signature>, where<signature>is an HMAC-SHA256 hash.
Signature Verification
To verify the signature:
- Extract the
webhook-timestampfrom the header. - Extract the
webhook-signaturefrom the header and remove thev1=prefix. - Concatenate the
webhook-timestampstring and the raw request body. - Calculate the HMAC-SHA256 hash of the concatenated string using your webhook’s secret key.
- Compare the calculated hash (hex-encoded) with the signature extracted from the header. They should match.
It is crucial to use a constant-time comparison function when comparing signatures to prevent timing attacks. (See the examples for more details)
Documentation Index
Fetch the complete documentation index at: https://docs.iron.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Body
Webhook Container
Top-level container for webhook notifications

