ESTAGE Support
IdeasMy tickets

Send an event about a contact

Permission events:writeRate limit heavyIdempotent with Idempotency-Key

name: 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.

POSThttps://api.estage.com/v1/events

Authorization

ESTAGE-API-Keystringheaderrequired

A project key, est_live_…, from Settings → API keys. Call from server code only.

Body

application/json
namestringrequired≤ 64 chars
contactobjectrequired

Name the contact by id or by email.

Show 5 fields
idinteger
emailstringemail≤ 256 chars
first_namestringnullable≤ 255 chars
last_namestringnullable≤ 255 chars
phonestringnullable≤ 32 chars
dataobjectnullable
Show example keys
{
  "order_id": "A-1042",
  "total": 49.9,
  "plan": "pro"
}
occurred_atstringnullabledate-time

When it happened; defaults to now. Stored with the activity.

Headers

Idempotency-Keystring≤ 255 chars

Any unique string per attempt. A retry with the same key gets the first answer back instead of doing the work twice.

RequestcURL
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"
  }'
Accepted
{
  "data": {
    "name": "order.paid",
    "contact_id": 4821,
    "contact_created": false,
    "automations_notified": true,
    "received_at": "2026-11-13T09:30:02Z"
  }
}
Example. Errors are { error: { code, message, details } }.