Inbox calendar
Every inbox has a calendar, and an agent can keep it.
The calendar API lets your agent create events, email standard calendar invitations, and answer the invitations people send it. A webhook fires when an event starts and when it ends, so the agent can join a call or follow up without a scheduler of its own.
Included with every inbox on every plan. No extra charge.
import { BillionSend } from "@billionsend/node";const bs = new BillionSend();await bs.inboxes.calendar.createEvent(inboxId, { title: "Intro call with Acme", start: "2026-10-15T14:00:00", end: "2026-10-15T14:30:00", timezone: "America/New_York", attendees: [{ email: "jane@acme.com" }], send_invites: true,});curl -X POST "https://api.billionsend.com/inboxes/$INBOX_ID/calendar/events" \ -H "Authorization: Bearer $BILLIONSEND_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "title": "Intro call with Acme", "start": "2026-10-15T14:00:00", "end": "2026-10-15T14:30:00", "timezone": "America/New_York", "attendees": [{ "email": "jane@acme.com" }], "send_invites": true }'// 201 { "object": "calendar_event", "attendees": [{ "invitation": "sent" }] }
- 10,000events one calendar can hold
- 100attendees on one event
- 100invitations one inbox imports a day
- 90days a finished event is kept
How it works
Schedule, receive and react with the calendar API.
The calendar exists from the moment the inbox does and is deleted with it.
- 01
Create events and invite people
The calendar API takes one-off, all-day and recurring events, with wall-clock times in an IANA time zone. With send_invites the inbox emails each attendee a standard invitation.
- 02
Receive invitations and answer them
When a delivered message carries a calendar invitation from its organizer, the event appears on the calendar. Accept, decline or answer tentatively, and the organizer gets the reply.
- 03
React when it starts
An opt-in webhook fires when an event is created, changed, answered or deleted, and when each date starts and ends, within about a minute.
Endpoints
The calendar API: everything an agent does with a calendar.
An API key limited to one inbox reaches the calendar API of that inbox and no other.
| Call | What it does | Note |
|---|---|---|
| POST /inboxes/{inbox_id}/calendar/events | Create a one-off, all-day or recurring event, optionally with invitations. | A client_id makes a retry safe |
| GET /inboxes/{inbox_id}/calendar/agenda | Every date in a time window, recurring events expanded, in start order. | Next 90 days unless you say otherwise |
| PATCH .../events/{event_id} | Change an event or one date of a series; send the update to attendees. | If-Match guards against stale writes |
| POST .../events/{event_id}/respond | Accept, decline or answer tentatively, and email the organizer. | Name a date id to answer for one date |
| GET /inboxes/{inbox_id}/calendar/events/{series_id}/instances | The dates of one recurring event in a window. | Edited and cancelled dates included |
In your code
Read what happened to each invitation.
Each attendee carries the state of their own mail.
- sentThe invitation went out as the inbox's own mail, through its send rules, limits and suppressions.
- heldThe inbox holds its sends for approval, so the invitation waits as a draft for a person.
- failedA suppressed address, a send limit or a refusal. The event is still saved; send again with a patch.
- 412If-Match no longer matches: someone changed the event first. Read it and apply your change again.
- needs_actionAn invitation the inbox received and has not answered yet. Every agenda item carries it.
{ "object": "calendar_event", "title": "Intro call with Acme", "timezone": "America/New_York", "start_at": "2026-10-15T18:00:00.000Z", "end_at": "2026-10-15T18:30:00.000Z", "sequence": 0, "attendees": [ { "email": "jane@acme.com", "status": "needs_action", "invitation": "sent" } ]}Where it fits
Use the calendar API where an agent keeps its own diary.
- 01
Scheduling assistants
Offer times, send the invitation and follow the answer, all from the agent's own address.
- 02
Meeting agents
Start a notetaker when the start webhook fires and file the summary when the end one does.
- 03
Sales and support agents
Accept the demo someone books by email and remind the team when it begins.
- 04
Reminders
The calendar API's recurring events with a webhook at each date replace a scheduler you would have to run.
Before you ship
Plan for standards, trust and limits.
StandardiCalendar over email
Invitations are standard iCalendar files carried by email as iMIP, so they open as meeting invitations in Google Calendar, Outlook and Apple Calendar, and those apps' invitations are read the same way.
TrustOnly a real organizer's invitation counts
A message is applied only when it was delivered, its sender is authenticated and the sender is the invitation's organizer. A forwarded invitation, or a cancellation from anyone else, changes nothing.
LimitsBounded imports
An inbox imports up to 100 new events and a team up to 200 in a UTC day. Updates and cancellations of events it already has always apply.
KeepingFinished events are removed
An event is deleted 90 days after its last date ended. A recurring event that never ends stays until you delete it.
FAQ
Questions, answered.
Something missing? Ask us at support@billionsend.com.


