API Updates
Calendar API Update
New webhooks, events, and pagination updates
This update were introduced on the 12th of December 2024.
We're excited to announce several improvements to our Calendar API endpoints. These changes include new features and some breaking changes.
New Features
Webhook Configuration Flexibility
- The
webhook_url
parameter is now optional onPOST /calendar
endpoint if a webhook URL is already configured on the account
Enhanced Event Information
GET /calendar_events
now includes attendees information for each eventGET /calendar_events/uuid
now returns thecalendar_id
of the event
Recurring Events Bot Management
- New query parameter
all_occurrences
added toPOST /calendar_events/uuid/bot
- Allows scheduling a bot for all instances of a recurring event
- Same functionality added to
DELETE /calendar_events/uuid/bot
- Enables bot removal from all occurrences of a recurring event
Breaking Changes
Bot Management Response Format
POST /calendar_events/uuid/bot
now returns an array of events instead of a single eventDELETE /calendar_events/uuid/bot
now returns an array of events instead of a single event
Pagination Changes
GET /calendar_events
endpoint no longer supportsoffset/limit
pagination- Implemented cursor-based pagination
- Response format changed to include a
next
field for fetching subsequent events - Events are returned in batches of 100
- Example response structure:
Migration Guide
- Update your pagination implementation to use the new cursor-based system
- Modify your bot management logic to handle arrays of events instead of single events
- Review any webhook configuration logic to take advantage of the new optional webhook_url parameter
Implementation Timeline
These changes are now live in production.