HTTP headers

Standard HTTP headers included when events are sent:

Content-type: application/json
Authorization: Bearer ... - authorization token provided by the user
x-iai-signature: ... - HMAC hash of the webhook payload
x-iai-api-version: ... - the Admin API version used
x-iai-object-type: ... - type of the object whose data was sent (e.g. client, product, etc.)
x-iai-event-type: ... - type of event that triggered the delivery (e.g. clientCreated, clientUpdated, etc.)
x-iai-event-uid: ... - unique event ID (stays the same across repeated deliveries)
x-iai-event-time: ... - time the event occurred in the system (date format: RFC 2822)
x-iai-webhook-time: ... - time the webhook was sent (date format: RFC 2822)
x-iai-test: true - header included in test events sent from the webhook panel

Any optional headers defined by the user in the webhook configuration are added to the standard headers.


Did this page help you?