# Calendar and contact events

> Events for calendars, calendar events, bookings and contacts, with sample payloads.

URL: https://docs.workwae.com/guides/events/calendar-and-contacts

These events track an account's calendars and their events, bookings made through scheduling links, and contacts. For the envelope fields see [Events](/guides/events#envelope).

## Calendars

`data.calendar` is the calendar as [`/reference/calendar`](/reference/calendar) returns it.

**calendar.initialized**

Fires when the account's first calendar sync finishes. Nothing before it is announced event by event; `calendars` and `events` count what the sync found.

```json
{
  "id": "1001",
  "type": "calendar.initialized",
  "accountId": "6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b",
  "createdAt": "2026-05-04T09:30:00.000Z",
  "data": {
    "calendars": 3,
    "events": 418
  }
}
```

**calendar.created**

Fires when a calendar appears.

```json
{
  "id": "1001",
  "type": "calendar.created",
  "accountId": "6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b",
  "createdAt": "2026-05-04T09:30:00.000Z",
  "data": {
    "calendar": {
      "id": "3d5f7b9a-6c8e-4e0a-b2d4-6f8a0c2e4b6d",
      "name": "Calendar",
      "description": null,
      "owner": null,
      "isPrimary": true,
      "access": "owner",
      "canEdit": true,
      "color": "#3b82f6",
      "timeZone": "Europe/London",
      "isHidden": false
    }
  }
}
```

**calendar.updated**

Fires when a calendar changes. `changes` names the changed calendar fields (any field but `id`).

```json
{
  "id": "1001",
  "type": "calendar.updated",
  "accountId": "6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b",
  "createdAt": "2026-05-04T09:30:00.000Z",
  "data": {
    "calendar": {
      "id": "3d5f7b9a-6c8e-4e0a-b2d4-6f8a0c2e4b6d",
      "name": "Calendar",
      "description": null,
      "owner": null,
      "isPrimary": true,
      "access": "owner",
      "canEdit": true,
      "color": "#3b82f6",
      "timeZone": "Europe/London",
      "isHidden": false
    },
    "changes": ["name"]
  }
}
```

**calendar.deleted**

Fires when a calendar goes away. `data.calendar` is the calendar as last synced.

```json
{
  "id": "1001",
  "type": "calendar.deleted",
  "accountId": "6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b",
  "createdAt": "2026-05-04T09:30:00.000Z",
  "data": {
    "calendar": {
      "id": "3d5f7b9a-6c8e-4e0a-b2d4-6f8a0c2e4b6d",
      "name": "Calendar",
      "description": null,
      "owner": null,
      "isPrimary": true,
      "access": "owner",
      "canEdit": true,
      "color": "#3b82f6",
      "timeZone": "Europe/London",
      "isHidden": false
    }
  }
}
```

## Calendar events

`data.event` is the event as [`/reference/calendar`](/reference/calendar) returns it. `kind` is `single`, `series` or `exception`:

- Unmodified occurrences of a series are never announced.
- An occurrence changed on its own is announced as a new exception (`calendar_event.created`).
- A change to a series is one `calendar_event.updated` of the series.

**calendar_event.created**

Fires when a single event, series or exception appears.

```json
{
  "id": "1001",
  "type": "calendar_event.created",
  "accountId": "6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b",
  "createdAt": "2026-05-04T09:30:00.000Z",
  "data": {
    "event": {
      "id": "e1f3a5c7-9b2d-4f6e-a8c0-2e4f6a8b0d1c",
      "calendarId": "3d5f7b9a-6c8e-4e0a-b2d4-6f8a0c2e4b6d",
      "kind": "single",
      "seriesId": null,
      "originalStart": null,
      "subject": "Planning",
      "snippet": "Agenda: roadmap, hiring.",
      "location": "Room 4",
      "start": {
        "dateTime": "2026-05-05T13:00:00.000Z",
        "date": null,
        "timeZone": "Europe/London"
      },
      "end": {
        "dateTime": "2026-05-05T14:00:00.000Z",
        "date": null,
        "timeZone": "Europe/London"
      },
      "isAllDay": false,
      "organizer": { "name": "Ada Lovelace", "address": "ada@example.com" },
      "attendees": [
        {
          "name": "Grace Hopper",
          "address": "grace@example.org",
          "type": "required",
          "response": "accepted"
        }
      ],
      "isOrganizer": true,
      "selfResponse": "organizer",
      "status": "confirmed",
      "showAs": "busy",
      "sensitivity": "normal",
      "onlineMeetingUrl": null,
      "onlineMeetingProvider": null,
      "iCalUid": "040000008200E00074C5B7101A82E008",
      "recurrence": null,
      "recurrenceTimeZone": null,
      "cancelledStarts": null,
      "categories": [],
      "hasAttachments": false,
      "reminderMinutes": 15,
      "webLink": null,
      "updatedAt": "2026-05-04T09:30:00.000Z"
    }
  }
}
```

**calendar_event.updated**

Fires when a single event, series or exception changes.

`changes` names the changed event fields: any field but `id`, `calendarId`, `seriesId` and `updatedAt`. The sample trims `event` to the fields that matter.

```json
{
  "id": "1001",
  "type": "calendar_event.updated",
  "accountId": "6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b",
  "createdAt": "2026-05-04T09:30:00.000Z",
  "data": {
    "event": {
      "id": "e1f3a5c7-9b2d-4f6e-a8c0-2e4f6a8b0d1c",
      "calendarId": "3d5f7b9a-6c8e-4e0a-b2d4-6f8a0c2e4b6d",
      "kind": "single",
      "seriesId": null,
      "subject": "Planning",
      "start": {
        "dateTime": "2026-05-05T13:00:00.000Z",
        "date": null,
        "timeZone": "Europe/London"
      },
      "end": {
        "dateTime": "2026-05-05T14:00:00.000Z",
        "date": null,
        "timeZone": "Europe/London"
      },
      "updatedAt": "2026-05-04T09:30:00.000Z"
    },
    "changes": ["start", "end"]
  }
}
```

**calendar_event.deleted**

Fires when a single event, series or exception goes away. `data` names the removed event (`eventId`, `calendarId`, `kind`, `seriesId`) rather than carrying it.

```json
{
  "id": "1001",
  "type": "calendar_event.deleted",
  "accountId": "6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b",
  "createdAt": "2026-05-04T09:30:00.000Z",
  "data": {
    "eventId": "e1f3a5c7-9b2d-4f6e-a8c0-2e4f6a8b0d1c",
    "calendarId": "3d5f7b9a-6c8e-4e0a-b2d4-6f8a0c2e4b6d",
    "kind": "single",
    "seriesId": null
  }
}
```

## Bookings

Both booking events carry the same fields. See [Scheduling](/guides/scheduling).

| Field | Description |
| --- | --- |
| `bookingId` | The booking. |
| `linkId` | The scheduling link that was booked. |
| `eventId` | The calendar event on the account; `null` once it is gone. |
| `start`, `end` | The booked slot. |
| `invitee` | The invitee's address. |

**booking.created**

Fires when a scheduling link is booked. The account hosts the event and the invitee is an attendee.

```json
{
  "id": "1001",
  "type": "booking.created",
  "accountId": "6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b",
  "createdAt": "2026-05-04T09:30:00.000Z",
  "data": {
    "bookingId": "4c6e8a0b-2d4f-4a6c-8e0b-1d3f5a7c9e1b",
    "linkId": "b0d2f4a6-8c0e-4a2c-9e1b-3d5f7a9c1e3b",
    "eventId": "e1f3a5c7-9b2d-4f6e-a8c0-2e4f6a8b0d1c",
    "start": "2026-05-05T13:00:00.000Z",
    "end": "2026-05-05T13:30:00.000Z",
    "invitee": "grace@example.org"
  }
}
```

**booking.cancelled**

Fires when a booking is cancelled and its event removed.

```json
{
  "id": "1001",
  "type": "booking.cancelled",
  "accountId": "6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b",
  "createdAt": "2026-05-04T09:30:00.000Z",
  "data": {
    "bookingId": "4c6e8a0b-2d4f-4a6c-8e0b-1d3f5a7c9e1b",
    "linkId": "b0d2f4a6-8c0e-4a2c-9e1b-3d5f7a9c1e3b",
    "eventId": "e1f3a5c7-9b2d-4f6e-a8c0-2e4f6a8b0d1c",
    "start": "2026-05-05T13:00:00.000Z",
    "end": "2026-05-05T13:30:00.000Z",
    "invitee": "grace@example.org"
  }
}
```

## Contacts

`data.contact` is the contact as [`/reference/contacts`](/reference/contacts) returns it.

**contacts.initialized**

Fires when the account's first contacts sync finishes. Nothing before it is announced contact by contact; `contacts` counts what the sync found.

```json
{
  "id": "1001",
  "type": "contacts.initialized",
  "accountId": "6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b",
  "createdAt": "2026-05-04T09:30:00.000Z",
  "data": {
    "contacts": 214
  }
}
```

**contact.created**

Fires when a contact appears.

```json
{
  "id": "1001",
  "type": "contact.created",
  "accountId": "6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b",
  "createdAt": "2026-05-04T09:30:00.000Z",
  "data": {
    "contact": {
      "id": "9c1e3a5b-7d9f-4b1c-8e3a-5c7e9b1d3f5a",
      "folderId": null,
      "displayName": "Grace Hopper",
      "givenName": "Grace",
      "middleName": null,
      "familyName": "Hopper",
      "nickname": null,
      "emails": [{ "address": "grace@example.org", "type": "work" }],
      "phones": [{ "number": "+1 202 555 0143", "type": "mobile" }],
      "organization": "Navy",
      "jobTitle": "Rear Admiral",
      "department": null,
      "birthday": "1906-12-09",
      "notes": null,
      "hasPhoto": false,
      "updatedAt": "2026-05-04T09:30:00.000Z"
    }
  }
}
```

**contact.updated**

Fires when a contact changes.

`changes` names the changed contact fields (any field but `id` and `updatedAt`), plus `photo` when the photo changes, which can happen while `hasPhoto` stays `true`. The sample trims `contact`.

```json
{
  "id": "1001",
  "type": "contact.updated",
  "accountId": "6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b",
  "createdAt": "2026-05-04T09:30:00.000Z",
  "data": {
    "contact": {
      "id": "9c1e3a5b-7d9f-4b1c-8e3a-5c7e9b1d3f5a",
      "folderId": null,
      "displayName": "Grace Hopper",
      "jobTitle": "Commodore",
      "updatedAt": "2026-05-04T09:30:00.000Z"
    },
    "changes": ["jobTitle"]
  }
}
```

**contact.deleted**

Fires when a contact goes away. `data` names the removed `contactId` and its `folderId`.

```json
{
  "id": "1001",
  "type": "contact.deleted",
  "accountId": "6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b",
  "createdAt": "2026-05-04T09:30:00.000Z",
  "data": {
    "contactId": "9c1e3a5b-7d9f-4b1c-8e3a-5c7e9b1d3f5a",
    "folderId": null
  }
}
```
