Skip to content

Reporting webhooks

A reporting webhook sends each delivery event from your journeys, such as a send, an open or a click, to an endpoint you own. Use it to feed your own reporting, grouped by journey and step.

Every message a journey sends is included. Messages your provider sends outside JustAI journeys are not. If you don’t see Reporting webhooks in Settings, ask your JustAI team to turn it on.

  1. Open Settings > Reporting webhooks and click Add webhook.
  2. Enter a Name and the endpoint’s URL.
  3. Choose the Events to send.
  4. Turn on Enabled when the endpoint is ready, then click Save.

Only organization admins can see and change reporting webhooks. A disabled webhook sends nothing.

The URL must use HTTPS on a public host. Its path and query can use Liquid to pass values from each event. The host must be written out, with no Liquid in it.

https://reports.example.com/events?wid={{ journeyId }}&wname={{ journeyName }}

Name the query parameters whatever your endpoint expects. The example above sends the journey as wid and wname.

Variable Value
eventId The event’s ID, the same on every retry
eventName The event, such as emailOpen
email The person’s email address, when known
userId The person’s user ID, when known
messageId The ID of the message the event is about
createdAt When the event happened, as YYYY-MM-DD HH:MM:SS +00:00
journeyId The journey’s ID
journeyName The journey’s name
stepId The ID of the journey step that sent the message
stepName The step’s name

Every value is URL-encoded, so it can’t add a path segment or a query parameter. A variable with no value for an event is empty. {{#urlEncode}}...{{/urlEncode}} around a variable is accepted and has no extra effect.

You can use if, unless, case, for and assign, along with Liquid’s filters. Other tags are refused when you save, as are variables not in the table.

Event Sent when
emailSend An email is sent
emailOpen An email is opened
emailClick A link in an email is clicked
emailBounce An email bounces
emailUnSubscribe A person unsubscribes from an email
emailComplaint A person marks an email as spam
emailSendSkip An email is skipped instead of sent
smsSend, smsClick, smsBounce, smsSendSkip The same for text messages

Each event is a POST with a JSON body:

{
"email": "jane@example.com",
"userId": "u_83412",
"eventName": "emailOpen",
"dataFields": {
"eventId": "evt:acme:iterable:9c438a20:emailOpen",
"createdAt": "2026-11-23 20:31:39 +00:00",
"messageId": "9c438a20",
"journeyId": "56267a50",
"journeyName": "Welcome series",
"stepId": "email_1",
"stepName": "Welcome email",
"email": "jane@example.com"
}
}

Every ID is a string. Names are the ones in the journey’s published version. A field with no value is left out.

Events are sent a few minutes after they happen. Your endpoint should answer with a 2xx status within 10 seconds.

  • A timeout, a connection failure, 408, 429 or a 5xx is retried with growing waits for about 15 hours.
  • Any other 4xx is not retried.
  • Redirects are not followed.

An event can arrive more than once, for example when your endpoint accepted it but the answer was lost. Use eventId to drop repeats: it is the same every time an event is sent.

When retries run out, the event is not sent again. Turning a webhook off stops events that are still waiting to be sent.