Events and webhooks
Connect your application’s activity to Azimea.
Send customer activity events to Azimea and receive email notifications back in your application.
Activity into Azimea
user.signed_upNotifications back to you
email.deliveredEvents sent to Azimea and webhooks received by your app serve different purposes.
01 / Activity into Azimea
Events from your system
Record actions such as account creation or service activation with relevant properties. They become part of the contact’s activity.
Events integration guide/v1/eventsJSON{
"events": [
{
"id": "evt_7f3c2a",
"name": "user.signed_up",
"contact": {
"email": "emma@example.com"
},
"properties": {
"source": "landing-page"
}
}
]
}02 / Published workflow
Behavior-based workflows
Use events in segments, triggers and workflow waits. Mark suitable events as conversions for reporting.
- 01
Customer event
user.signed_up - 02
Published workflow
Azimea - 03
Welcome email
emma@example.com
email.deliveredJSON{
"id": "01a10912-5b3c-7d41-9e2f-6b8c1d0a4f77",
"type": "email.delivered",
"created_at": "2026-10-05T09:31:04Z",
"data": {
"message_id": "01a10900-0000-7000-8000-000000000301",
"email": "emma@example.com"
}
}webhook-idwebhook-timestampwebhook-signature03 / Notifications back to you
Notifications back to your app
Email webhooks report delivery and engagement events. Verify signatures and handle repeated notifications in your integration.
- Verify the signature
- Ignore already handled notifications
- Return a 2xx response promptly
Does an event send an email by itself?
No. An event records an action; a configured workflow can react to it. Use Email API to request a transactional message directly.
Transactional email: API and SMTPHow do I send an event from my application?
Call POST /events with an API key that has the events:write permission, with up to 100 events per call. Each event has your own id, a name, the moment it happened and the contact who did it. Each event is accepted or rejected on its own, and sending the same id again counts as a duplicate, so retries are safe.
What are the rules for an event name and its data?
A name uses lowercase letters, digits, _ and ., starts with a letter and has at most 64 characters; the prefixes order., cart., customer., subscriber., contact., email. and azimea. are reserved. An event can be at most 30 days old and never in the future. Its properties are a JSON object of at most 16 KB and 3 levels deep.
How does an event start a flow?
Create a flow with an event as its trigger, pick the event name and, if you want, narrow it to events whose properties match. Once published, every matching event starts the flow for the person who did it. A person who is already in a run is not started again until it ends, and the flow can stop early on up to 10 other events.
Can an email show data from the event?
Yes. A placeholder such as event.plan (in double braces) is replaced by the plan property of the event that started the run. Text, numbers and true/false values are shown as sent; lists and nested objects are not.
Can a script start one flow without a general API key?
Yes, with the flow’s API trigger. The flow has its own token, which starts with azm_wf_ and is shown only once, and the same call id sent twice starts the flow once. Use POST /events instead when your product reports what people do and several flows may react.
How do I receive webhooks in my application?
In the dashboard settings, owners and admins add an https address and choose all events or selected ones. The signing secret, which starts with whsec_, is shown only once. A company can have up to 20 active webhooks. Verify the signature, answer with a 2xx status within 10 seconds and skip notifications you already handled, because one can arrive more than once.