Send an event about a contact
events:writeRate limit heavyIdempotent with Idempotency-Keyname: letters, digits and . : - _ (starts with a letter or digit), up to 64 characters, e.g. order.paid. contact: { id } or { email, first_name?, last_name?, phone? }; an unknown email becomes a new contact only when the key also has contacts:write, else 404. data: any JSON object, up to 100 top-level keys; automations with an api_event trigger match on name and may filter on data.* (eq, neq, in, not_in, contains, gt, gte, lt, lte, exists, not_exists). The event is written to the contact's activity; matching runs on the queue. automations_notified is true when the project has at least one active automation to check, not a count of matches. Counts against the heavy rate limit.
Authorization
ESTAGE-API-KeystringheaderrequiredA project key, est_live_…, from Settings → API keys. Call from server code only.
Body
application/jsonnamestringrequired≤ 64 charscontactobjectrequiredName the contact by id or by email.
Show 5 fields
idintegeremailstringemail≤ 256 charsfirst_namestringnullable≤ 255 charslast_namestringnullable≤ 255 charsphonestringnullable≤ 32 charsdataobjectnullableShow example keys
{
"order_id": "A-1042",
"total": 49.9,
"plan": "pro"
}occurred_atstringnullabledate-timeWhen it happened; defaults to now. Stored with the activity.
Headers
Idempotency-Keystring≤ 255 charsAny unique string per attempt. A retry with the same key gets the first answer back instead of doing the work twice.
curl --request POST \ --url 'https://api.estage.com/v1/events' \ --header 'ESTAGE-API-Key: est_live_your-api-key' \ --header 'Content-Type: application/json' \ --header 'Idempotency-Key: your-unique-key' \ --data '{ "name": "order.paid", "contact": { "email": "ana@example.com", "first_name": "Ana" }, "data": { "order_id": "A-1042", "total": 49.9, "plan": "pro" }, "occurred_at": "2026-11-13T09:30:00Z" }'
{
"data": {
"name": "order.paid",
"contact_id": 4821,
"contact_created": false,
"automations_notified": true,
"received_at": "2026-11-13T09:30:02Z"
}
}{ error: { code, message, details } }.