API Reference/Calendars
Create Calendar
Integrates a new calendar with the system using OAuth credentials. This endpoint establishes a connection with the calendar provider (Google, Microsoft), sets up webhook notifications for real-time updates, and performs an initial sync of all calendar events. It requires OAuth credentials (client ID, client secret, and refresh token) and the platform type. Once created, the calendar is assigned a unique UUID that should be used for all subsequent operations. Returns the newly created calendar object with all integration details.
Authorization
x-meeting-baas-api-key
<token>API key for authentication
In: header
Request Body
application/json
Requiredoauth_client_id
Requiredstringoauth_client_secret
Requiredstringoauth_refresh_token
Requiredstringplatform
RequiredstringFields with value "simple"
parse as Kind::Simple
. Fields with value "fancy"
parse as Kind::SoFancy
.
Value in:
"Google" | "Microsoft"
raw_calendar_id
string | null