Inbox webhooks
Events for DMs, comments, reviews, conversations, contacts, sequences and workflows, plus email sends, opens and bounces, and calendar and file changes.
Events
Messages
Message payloads carry an account block with accountId and profileId. Facebook and Instagram accounts with a Facebook Page also carry pageId.
| Event | Description |
|---|---|
message.received | A new inbox message arrived. |
message.sent | An outgoing message was sent from the inbox. |
message.edited | A sender edited a previously sent message. |
message.deleted | A sender deleted (unsent) a message. |
message.delivered | An outgoing message was delivered to the recipient. |
message.read | An outgoing message was read by the recipient. |
message.played | An outgoing WhatsApp message was played by the recipient. |
message.failed | An outgoing message failed to deliver (WhatsApp, SMS, RCS, iMessage). |
Engagement
| Event | Description |
|---|---|
reaction.received | A participant added or removed an emoji reaction on a message. |
referral.received | Someone opened an existing conversation through a ref link or ad click. |
comment.received | A new comment arrived on a tracked post. |
mention.received | A connected account was mentioned (Instagram, Facebook, LinkedIn). |
Conversations
| Event | Description |
|---|---|
conversation.started | A new conversation began between an account and a contact. |
conversation.control_changed | Control of a conversation moved: Meta Business Agent on WhatsApp, or Meta's conversation routing on Facebook and Instagram. |
Reviews
| Event | Description |
|---|---|
review.new | A new review was posted on a connected account. |
review.updated | A review was edited, or its reply was added, edited or removed. |
review.deleted | Google stopped returning a review. |
review.restored | A review reported by review.deleted came back. |
Email calendar and files
These events come from Google, Microsoft and IMAP accounts. Calendar, file and contact events are Google and Microsoft only. New email arrives as message.received.
| Event | Description |
|---|---|
email.sent | A mail left through the email API: send, reply, forward, draft or scheduled. |
email.opened | A message sent with trackOpens was opened. |
email.link_clicked | A link in a message sent with trackLinks was followed. |
email.thread_replied | Someone wrote in the thread of a message sent with trackReplies. |
email.send_failed | A scheduled email could not be sent at its time. |
email.bounced | A mail the mailbox sent bounced, once per failed recipient. |
email.updated | A message was read, starred, labelled, archived, trashed or moved. Google and Microsoft. |
email.deleted | A message was deleted for good. Google and Microsoft. |
calendar.event.created | An event was added to a watched calendar. |
calendar.event.updated | An event on a watched calendar changed. |
calendar.event.deleted | An event was deleted or cancelled. |
file.created | A file appeared in Drive or OneDrive. |
file.updated | A file changed. |
file.deleted | A file was deleted. |
file.picked | The user picked Google Drive files. |
Contacts and automations
| Event | Description |
|---|---|
contact.updated | The contact sync added or changed a contact. |
contact.deleted | A provider contact was deleted. |
contact.tag_added | A tag was added to a contact. |
contact.tag_removed | A tag was removed from a contact. |
contact.field_changed | A contact custom field changed value. |
sequence.enrolled | A contact was enrolled in a sequence. |
sequence.exited | A contact left a sequence; exitReason says why. |
workflow.run.started | A workflow run started. |
workflow.run.completed | A workflow run ended. |
workflow.run.failed | A workflow run failed. |
How it behaves
Related
- Webhooks: create an endpoint, retries, signatures.
- Send a message: reply to
message.receivedwithaccountIdandmessage. - List inbox conversations: the same conversations on demand.
- Comment automations: DM people who comment a keyword.
- Chat SDK: a bot framework that consumes these events.
- Workflows: triggers, nodes and runs.
- Zero content retention: with it on for the team or a profile,
message.*,comment.receivedandmention.receivedare the only copy of the content. - Google and Microsoft push notifications, and IMAP mailboxes
- List calendar events
- List files
- List contacts
- Contacts and Sequences: the records the contact, sequence and workflow events describe.
analytics.synced
One connected account's analytics sync cycle completed successfully. ### Payload notes It is a trigger: no metrics and no cursor. On receipt, call `GET /v1/analytics/delta` with your own last `nextCursor` to read what changed across every account. ### When it fires Per account, per successful sync cycle, roughly hourly. It does not fire for a failed or skipped cycle, an inactive or disconnected account, or a platform without analytics sync. ### Empty page The feed is a materialized view, so an immediate read can return an empty `data` array. Re-poll with the same cursor. Advancing on an empty page can lose changes permanently. ### Use a dedicated endpoint Volume is about one event per account per hour. The consecutive-failure count is shared by every event on an endpoint, so an outage here can disable it and silence events like `post.published`.
message.received
A new message arrived in the inbox; `message.text`, `message.attachments[]` and `message.sender` describe it. ### Standby While another app owns the conversation it carries `metadata.standby: true`. Zernio runs no workflow or keyword automation on it. A bot must skip standby messages, or on WhatsApp it takes the conversation from the agent. ### Interactive replies Button and list taps, flow responses and orders arrive under `metadata` (`interactiveType`, `interactiveId`, `flowResponseData`, `order`). Only a referral that arrives without a message becomes `referral.received`. ### Platform notes New email from Google, Microsoft and IMAP mailboxes arrives as this event.