Skip to content

Custom events

Record what happened in your application

Record named application events and their properties against project contacts, with idempotent requests and a registry of event names.

  1. 01The Resend request shape

    POST /events/send accepts event, exactly one of email or contact_id, and an optional payload. It returns 202 with the event name. Use Idempotency-Key to retry the same request without recording it again within the idempotency window.

  2. 02Occurrence time when you need it

    POST /events is the exx.sh extension: name, email or contact_id, properties and optional occurred_at. Both routes record the same contact activity. Properties describe that occurrence; they never overwrite the contact's profile. Each route has its own idempotency keys.

  3. 03Observe an event without inventing consent

    An unknown email creates an unsubscribed contact. Existing subscription and topic choices stay unchanged; suppressed or erased identities are refused. An event is not consent to send marketing mail.

  4. 04Names and usage, without event bodies

    GET /events/names lists the project's event names and aggregate usage. Contact event bodies are available in the dashboard, not through a public event-body listing. Properties follow contact activity retention: a monthly partition is deleted once its month ended 365 days ago, unless the contact is deleted or erased sooner.

Questions

No. Event ingestion has its own project rate limit and does not consume sending quota. The normal authenticated API request limit still applies.

More of the engine