Dashboard

Events

Auth Required

Track Event Batch

POSThttps://api.inboxjot.com/v1/events/batch

Records up to 100 events in one request. The body is an array of Track Event bodies. Inboxjot checks every event first, and records none of them when one fails. Needs a Full key. A key limited to one domain answers 403. Send an optional Idempotency-Key header to retry safely. See Idempotency.

A batch counts as one request toward the rate limit of 10 requests per second per key.

POST/v1/events/batch
curl -X POST https://api.inboxjot.com/v1/events/batch \
  -H "Authorization: Bearer $INBOXJOT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "event": "order.completed",
      "user_id": "usr_8842",
      "properties": {
        "order_id": "4821"
      }
    },
    {
      "event": "signed_up",
      "email": "marcus.lee@example.com",
      "occurred_at": "2026-11-14T09:30:00Z"
    }
  ]'
{
  "data": [
    {
      "contact_id": "con_06d2mfk8r9wq3zh5ka2pe"
    },
    {
      "contact_id": "con_06d2mfk8rb4xk2vt9nq7d"
    }
  ]
}

Accepted. Inboxjot records the events in the background. A batch is all or nothing: one invalid event refuses the whole batch.

Body

An array of 1 to 100 event objects. Each event takes the fields below, the same as Track Event. When one event fails, the error message starts with its number, such as Event 2.

idstring | null

Your ID for this event, 1 to 64 letters, numbers, - or _, such as a UUID. Inboxjot records an ID once for 24 hours, so a retry with the same ID is safe. IDs from a tracking key are checked per user, apart from your server's.

eventstringrequired

The event name, such as signed_up, 1 to 100 characters. Start with a letter or number, then use letters, numbers, ., _, : or -.

emailstring | null

The contact address. A new address creates a subscribed contact. Disposable addresses are refused. Send email, user_id or both.

user_idstring | null

Your ID for the contact, 1 to 255 characters. With an email, it is saved on the contact. Without one, it must match a contact that has it.

occurred_atstring | null

When the event happened, as ISO 8601 with an offset, such as 2026-11-14T09:30:00Z. Leave it out for now. It must be within the last 400 days. An event older than 72 hours is recorded but starts no automation. A tracking key's events always use the time Inboxjot received them.

propertiesobject

The event properties, such as { "plan": "pro" }, up to 16 KB as JSON. Automations started by the event can use them in their emails.

Response

dataobject[]

One entry per event, in the order you sent them.

Responses

POST/v1/events/batch
curl -X POST https://api.inboxjot.com/v1/events/batch \
  -H "Authorization: Bearer $INBOXJOT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "event": "order.completed",
      "user_id": "usr_8842",
      "properties": {
        "order_id": "4821"
      }
    },
    {
      "event": "signed_up",
      "email": "marcus.lee@example.com",
      "occurred_at": "2026-11-14T09:30:00Z"
    }
  ]'
{
  "data": [
    {
      "contact_id": "con_06d2mfk8r9wq3zh5ka2pe"
    },
    {
      "contact_id": "con_06d2mfk8rb4xk2vt9nq7d"
    }
  ]
}

Accepted. Inboxjot records the events in the background. A batch is all or nothing: one invalid event refuses the whole batch.