Docs
Automations

Send Event

Tell the platform something happened. Every active automation listening for this event starts for that person.

POST/events/send

Body Parameters

eventstringrequired
Event name, e.g. user.signed_up.
emailstringrequired
Who it's about.
dataobject
Variables for the emails, e.g. { "FIRST_NAME": "Ada" }.
const res = await fetch('https://post-waves.com/events/send', {
  method: 'POST',
  headers: {
    Authorization: 'Bearer pw_xxxxxxxxx',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "event": "user.signed_up",
    "email": "delivered@postwave.test",
    "data": {
      "FIRST_NAME": "Ada"
    }
  }),
});
const data = await res.json();
Try itPOST/events/send

No key yet? Create one in the dashboard.