Skip to content

API reference

Events API

Tell automations that something happened to a contact.

Paths are relative to https://isent.dev/api/v1. Every request needs an API key; see API overview for errors, rate limits and pagination.

Send an event

POST/events

Starts a run in every active automation triggered by this event.

Parameters

Send an event: parameters
NameInTypeDescription
Idempotency-KeyheaderstringRetries with the same key within 24 hours return the first response and start no new runs.

Body

A JSON object.

Send an event: body
NameTypeDescription
eventRequiredstringEvent name, for example user.signed_up. 2 to 64 characters.
contact_idstringThe contact the event is about.
emailstringOr the contact's email; an unknown address becomes a new contact.
payloadmap of anyA JSON object with data for the automation's blocks, up to 16 KB.

Responses

Send an event: responses
StatusMeaning
200OK.
400The body is not valid JSON.
401Missing, invalid or restricted API key.
403Not allowed: role, key scope, unverified domain, plan limit (plan_limit_reached) or a new team's members-only sending (sending_restricted).
409Conflict with the current state, or an idempotency key reused.
422Validation failed.
429Rate limit (rate_limit_exceeded), monthly quota (monthly_quota_exceeded) or a new team's daily limit (daily_limit_reached).