Calendar API
Every mailbox has a calendar. You pick the calendar by passing the mailbox's full address in the mailbox field, like hello@yourdomain.com. The mailbox must be in your organization, and the API key must have access to it. Availability only reads that one mailbox's calendar. You can't look up a teammate's free/busy time.
Last updated
The calendar event object
{
"object": "calendar_event",
"id": "evt_abc123",
"revision": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
"mailbox": "hello@yourdomain.com",
"calendar_id": "cal_default",
"uid": "…",
"title": "Intro call",
"invitation_language": "fr",
"description": null,
"location": null,
"video_url": null,
"all_day": false,
"start": "2026-08-01T12:00:00.000Z",
"end": "2026-08-01T12:30:00.000Z",
"timezone": "Europe/Paris",
"duration": "PT30M",
"status": "confirmed",
"free_busy_status": "busy",
"privacy": null,
"color": null,
"recurrence": null,
"recurrence_id": null,
"reminders": [],
"organizer": { "email": "hello@yourdomain.com", "name": "Hello" },
"attendees": [{ "email": "guest@example.com", "name": "Guest", "status": "accepted" }],
"created_at": null,
"updated_at": null
}| Field | Type | Description |
|---|---|---|
| id | string | Unique event ID. |
| revision | string | Content revision to pass as expected_revision on an update. |
| mailbox | string | The mailbox (calendar owner) address. |
| calendar_id | string | null | The calendar the event lives on. |
| title | string | null | Event title. |
| invitation_language | "en" | "fr" | "es" | Language for invitation, update, cancellation, and RSVP interface copy. |
| description | string | null | Long description. |
| location | string | null | Physical location. |
| video_url | string | null | Video or conference join URL. |
| all_day | boolean | Whether the event is all-day. |
| start | string | UTC instant for timed events; a YYYY-MM-DD date for all-day events. |
| end | string | UTC instant for timed events; the exclusive end date for all-day events. |
| timezone | string | null | The event's own IANA zone. Null for all-day or floating events. |
| duration | string | null | ISO 8601 duration (e.g. PT1H). |
| status | string | null | confirmed, tentative, or cancelled. |
| free_busy_status | string | null | free or busy. |
| privacy | string | null | public, private, or secret. |
| color | string | null | Event color. |
| recurrence | object | null | { frequency, interval?, count?, until?, by_day? }. |
| recurrence_id | string | null | Set on an expanded recurrence instance. |
| reminders | array | Email reminders as [{ minutes_before }]. |
| organizer | object | null | Organizer email and display name. |
| attendees | array | Attendee email, display name, and RSVP status. |
| created_at | string | null | ISO 8601 timestamp, when available. |
| updated_at | string | null | ISO 8601 timestamp, when available. |
List events
/v1/calendar/eventsScope: calendar:read. Required query params: mailbox, from and to (UTC instants). Optional: expand (return recurring events as individual instances), calendar_id, cursor, and limit (1 to 250, default 100). Returns a cursor-paginated list.
Create an event
/v1/calendar/eventsScope: calendar:write. start is a local date-time in the zone you set in timezone. Send an operation_key (16 to 200 letters, numbers, periods, underscores, colons, or hyphens) and reuse it when you retry the exact same payload. Set send_invitations to false to create the event without sending invitations. It defaults to true.
{
"mailbox": "hello@yourdomain.com",
"operation_key": "calendar-create-01",
"send_invitations": true,
"title": "Intro call",
"invitation_language": "fr",
"start": "2026-08-01T14:00:00",
"timezone": "Europe/Paris",
"duration": "PT30M",
"reminders": [{ "minutes_before": 10 }],
"attendees": [{ "email": "guest@example.com", "name": "Guest" }]
}Adding attendees sends them calendar invitations. Event responses list the organizer and each attendee's current RSVP status. Set invitation_language to en, fr, or es to choose the language of the invitation, update, cancellation, and RSVP interface. API calls default to English. Shipmail never translates the title, description, or location you send.
Create and update responses include invitation_outcomes, with a sent, failed, or unknown status for each recipient, plus the compatibility invitation_failures list of failed and unknown recipients. To retry the ones that didn't go through, send the exact same body and operation key again. Shipmail skips recipients it already sent to.
Get, update, or delete an event
GET /v1/calendar/events/:id?mailbox=hello@yourdomain.com
PATCH /v1/calendar/events/:id
DELETE /v1/calendar/events/:id?mailbox=hello@yourdomain.comGET and DELETE require the mailbox query param. PATCH takes mailbox plus the fields to change in the body. Fields you leave out stay as they are. null clears the description, timezone, location, video_url, recurrence, or reminders. To change attendees, send the full list you want. Pass the event's revision as expected_revision so a write based on an old copy is rejected. Reuse the same operation_key when you retry the exact same payload. Set send_guest_updates to false to skip the update emails to guests. It defaults to true. DELETE returns 204.
{
"mailbox": "hello@yourdomain.com",
"operation_key": "calendar-update-01",
"expected_revision": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
"send_guest_updates": true,
"invitation_language": "es"
}If you only change invitation_language, guests get no update. The new language applies to the next scheduling message.
Get availability
/v1/calendar/availabilityScope: calendar:read. Returns the free meeting slots in one mailbox's calendar. Required: mailbox, from, and to. Optional: duration (minutes, default 30), interval, timezone, days (comma-separated 0 to 6, 0 is Sunday), window_start and window_end (minutes from midnight), buffer, and minimum_notice.
This endpoint does not read a booking page. It uses only the values you pass, and timezone defaults to Etc/UTC, so its slots can differ from the times a booking page shows. To get those times, use GET /v1/booking-pages/:id/slots from the booking pages API.
{
"object": "calendar_availability",
"mailbox": "hello@yourdomain.com",
"from": "2026-08-03T00:00:00.000Z",
"to": "2026-08-04T00:00:00.000Z",
"duration_minutes": 30,
"timezone": "America/New_York",
"slots": [
{ "start": "2026-08-03T13:00:00.000Z", "end": "2026-08-03T13:30:00.000Z" }
]
}Invitations in email
An invitation a mailbox receives arrives on the message.received webhook with an invitation field. Answer it with POST /v1/messages/:id/invitation and { "response": "accepted" }, tentative or declined. The answer lands on the calendar, and the organizer gets it by email when they sent the invitation.
To send an invitation you built yourself, attach its .ics file to POST /v1/messages. When the sending mailbox is the organizer and the key also has calendar:write, the event goes on its calendar and collects the guests' answers. Both are described in the Messages API.