Calendars
Create Calendar
After being created, the calendar will be connected to the specified calendar platform.
POST
Authentication
Requires API key authentication via theAuthorization header.
Request Body
The calendar platform (
google or microsoft)The client ID for the calendar platform authentication
The client secret for the calendar platform authentication
The refresh token for accessing the calendar platform
The UUID of the calendar on the calendar platform. Specify only for non-primary calendars.
JSON object containing metadata to associate with the calendar
Optional key for deduplicating calendars. If a calendar with this key already exists in the project, the new calendar will not be created and an error will be returned.
Response
Unique identifier for the calendar
Calendar platform (
google or microsoft)Client ID for the calendar platform authentication
UUID of the calendar on the platform
Connection state (
connected or disconnected)Metadata associated with the calendar
Optional key for deduplicating calendars
Information about connection failures, if any
Timestamp when the calendar was created (ISO 8601 format)
Timestamp when the calendar was last updated (ISO 8601 format)
Timestamp of the last successful sync (ISO 8601 format)
Timestamp of the last attempted sync (ISO 8601 format)