Skip to main content
This walk-through wires up the most common public API integration: a website lead form posts to Notealy, the new contact is tagged, and an automation reacts to that tag by sending a templated email.

1. Issue an API token

Settings → API Tokens → New token. Pick scopes people:write, tags:read and tags:write. Copy the token (you will see it once). Confirm the token works:
A 200 with your organization details means you are good to go.

2. Set up the automation in the dashboard

  1. Go to Automations → New and configure:
    • Trigger: Tag added → select (or create) the tag web-lead
    • Action: Send message → channel Email → pick (or create) an email template
  2. Activate the automation.

3. Get the tag id from the API

If the tag does not exist yet, create it:

4. Push a contact with the tag

Response (truncated):
The API:
  • Upserts the contact (matches by phone, then email, then externalId).
  • Attaches the web-lead tag, emitting contact.tag_added once per newly attached tag.
  • That event triggers the automation; the email goes out within seconds.

5. Replay safely

Posting the same payload again is safe:
  • The contact is matched by email and updated, not duplicated.
  • The tag is already attached, so no new contact.tag_added event is emitted and the automation does not run twice.
This makes the endpoint suitable for retries and at-least-once delivery from your form backend.

What’s next