Events

What a Workwae event contains, how events reach you, how long they are kept, and every event type.

An event announces one change: a message arrived, a send failed, a calendar event moved. Read this page to learn the envelope every event shares and to find the event types you need.

The envelope

Every event has the same five fields. type says what data holds.

Event
{
  "id": "1001",
  "type": "send.sent",
  "accountId": "6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b",
  "createdAt": "2026-05-04T09:30:00.000Z",
  "data": { "outboxId": "7b9d1f3a-5c7e-4a9b-8d1f-3a5c7e9b1d3f", "...": "..." }
}
FieldTypeDescription
idstring of decimal digitsStable event id. It is the webhook-id header and your dedupe key; replays keep it.
typestringThe event type, such as message.created.
accountIdstring or nullThe account the event concerns. Always null for account.purged and webhook.test; null for export.* when the export covers the whole tenant.
createdAttimestampWhen the event was recorded.
dataobjectThe type's payload. An event's own account is accountId and is not repeated in data.
isTesttrue, optionalPresent, and true, only on a delivery sent by the webhook test action. Absent rather than false; never in the change feed.

How events reach you

The same event, with the same id and body, is available on two paths:

  • Webhooks push each event to your endpoints as a signed POST. See Webhooks.
  • The change feed lets you poll events in order from a cursor. See Change feed.

Because the id is the same on both paths and across retries and replays, one dedupe table covers both. MCP clients can subscribe to events too; see MCP apps and events.

Retention

Events are kept for the tenant's eventRetentionDays setting: 14 days by default, adjustable from 7 to 30 (see /reference/settings). Older events leave the change feed and cannot be replayed to webhooks.

Initial sync

A new account's first sync is not announced item by item. When it finishes, one summary event fires instead: account.initialized for mail, calendar.initialized for calendars, contacts.initialized for contacts. Read existing data through the API, then rely on events for changes after it.

Event types

TypeFires whenSample
account.connectedAn account is connected, or an existing account signs in again.Accounts
account.updatedAn account's status, externalRef, settings or connection changes.Accounts
account.deletedAn account is deleted.Accounts
account.reauth_requiredThe provider refuses the account's grant.Accounts
account.initializedThe account's first mail sync finishes.Accounts
account.purgedA deleted account's data is gone for good.Accounts
export.completedA data export is ready to download.Accounts
export.failedA data export fails.Accounts
meeting_connection.connectedAn account connects or reconnects Zoom or Webex.Accounts
meeting_connection.reauth_requiredThe meeting service refuses the account's grant.Accounts
webhook.testThe webhook test action runs.Accounts
mailbox.createdA mailbox (folder or label) appears.Mail
mailbox.updatedA mailbox is renamed, moved or given another role.Mail
mailbox.deletedA mailbox goes away.Mail
message.createdA message is indexed.Mail
message.updatedA message is read, flagged, moved or linked to its outbox entry.Mail
message.deletedA message is removed.Mail
message.bouncedA bounce notice reaches the account.Mail
message.classifiedAI classifies a reply to one of your sends.Mail
message.openedThe open-tracking pixel of a send loads.Mail
message.clickedA tracked link of a send is followed.Mail
send.sentThe provider accepts a queued send.Mail
send.retryingA send attempt fails and is queued again.Mail
send.failedA send fails for good.Mail
send.rescheduledA queued send gets a new sendAt.Mail
suppression.createdAn address goes onto a suppression list.Mail
calendar.initializedThe account's first calendar sync finishes.Calendar and contacts
calendar.createdA calendar appears.Calendar and contacts
calendar.updatedA calendar changes.Calendar and contacts
calendar.deletedA calendar goes away.Calendar and contacts
calendar_event.createdA single event, series or exception appears.Calendar and contacts
calendar_event.updatedA single event, series or exception changes.Calendar and contacts
calendar_event.deletedA single event, series or exception goes away.Calendar and contacts
booking.createdA scheduling link is booked.Calendar and contacts
booking.cancelledA booking is cancelled.Calendar and contacts
contacts.initializedThe account's first contacts sync finishes.Calendar and contacts
contact.createdA contact appears.Calendar and contacts
contact.updatedA contact changes.Calendar and contacts
contact.deletedA contact goes away.Calendar and contacts

The samples on the section pages are the same data a webhook test event sends.

On this page