Dashboard

Track Events

An event tells Inboxjot that a contact did something in your app. Events start automations and resume runs that wait for them. The events API needs a key with Full access.

Send an Event

curl -X POST https://api.inboxjot.com/v1/events \
  -H "Authorization: Bearer $INBOXJOT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "order.completed",
    "email": "riti@example.com",
    "data": { "order_id": "1042", "total": "$42.00" }
  }'
FieldDescription
nameRequired. Up to 100 letters, numbers, dots, colons, dashes or underscores. Starts with a letter or number.
emailRequired. The contact who did it.
dataOptional. A JSON object of up to 16 KB.

The API answers 202 Accepted with the contact_id. Inboxjot sets the time of the event.

What Happens Next

The automation editor lists the event names your app sent in the last 30 days.

Use Event Data

Emails in an automation started by an event can use its data. Each top-level field becomes a variable such as {{event.order_id}}. Data from an event that resumes a Wait for Event step is not added.