Notideus
API Reference

Automation events

Send custom events that start matching automations.

Base URL: https://api.notideus.io. All endpoints below are under /v1 and use the error envelope on failure — see Errors.

Use one custom event to start every active automation with the same trigger event. Draft and paused automations do not start. Runs are created and executed asynchronously: an accepted event does not mean an email has been sent or delivered.

Each run follows an immutable revision of the automation's send_email, delay, and condition steps. Conditions compare payload/contact fields and jump to true/false destinations. Every next_step_id, true_step_id, and false_step_id points forward, preventing loops. Any of those fields can use the literal "end" to finish that path, or branches can merge into a shared later step; untaken steps are marked skipped and the condition row records detail: "true" or "false". Editing an automation affects future events only; existing runs keep their original steps. Pausing an automation stops new runs, while existing runs continue.

POST/v1/events/send

Scope: events:send — API key only. The team owner's email address must be verified.

Accepts one custom event for asynchronous dispatch. Every active automation whose trigger_event exactly matches event starts one run for the recipient.

Request fields

FieldTypeRequiredNotes
eventstringyesTrigger name, 1–128 characters; letters, numbers, dots, underscores and dashes; must start with a letter or number
emailstringexactly one of email or contact_idRecipient email address; normalized to lowercase. If it matches a stored contact, that contact is linked
contact_iduuidexactly one of email or contact_idExisting contact in the same workspace; the run uses the contact's stored email
payloadobjectnoJSON object, up to 64 KB and 100 top-level fields; defaults to {}
idempotency_keystringno1–200 characters; strongly recommended for safe retries

Top-level payload fields with identifier-shaped names (first_name, plan, and so on) fill matching {{variable}} slots in the subject and template. Strings, numbers and booleans are supported; nested objects and arrays are encoded as JSON. {{email}}, {{event_name}}, and {{contact_id}} (when present) are built in. Contact properties are available first, and payload fields override them.

Response

202 Accepted — the event was accepted for asynchronous dispatch. created is true for a new event and false for an idempotent replay. Both responses return the original event with the same id; no run IDs are returned by this endpoint.

Errors

  • 400 bad_request — malformed JSON, an invalid event name or recipient, both recipient fields supplied, neither recipient field supplied, or an oversized/invalid payload.
  • 401 unauthorized — missing, invalid, or revoked API key.
  • 403 insufficient_scope — the key lacks events:send.
  • 403 email_not_verified — the team owner's email address is unverified.
  • 403 account_suspended — the key's owner or creator is suspended.

First event

curl -X POST https://api.notideus.io/v1/events/send \
  -H "Authorization: Bearer $NT_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "event": "docs.example",
    "email": "ada@example.com",
    "payload": {"first_name": "Ada", "plan": "Pro"},
    "idempotency_key": "docs-automation-event-1"
  }'

Captured response:

{
  "created": true,
  "event": {
    "id": "01a1de4e-8c92-7a40-8163-8f0d5ae1fa2a",
    "event": "docs.example",
    "email": "ada@example.com",
    "contact_id": null,
    "payload": {
      "plan": "Pro",
      "first_name": "Ada"
    },
    "source": "api",
    "created_at": "2026-11-15T08:24:12.178239Z"
  }
}

Idempotent replay

The same request with idempotency_key: "docs-automation-event-1" returns the original event and does not create another run:

{
  "created": false,
  "event": {
    "id": "01a1de4e-8c92-7a40-8163-8f0d5ae1fa2a",
    "event": "docs.example",
    "email": "ada@example.com",
    "contact_id": null,
    "payload": {
      "plan": "Pro",
      "first_name": "Ada"
    },
    "source": "api",
    "created_at": "2026-11-15T08:24:12.178239Z"
  }
}
Copyright © 2026