Create appointment
POST/calendars/events/appointments
Create appointment
Request
API Version
v3- application/json
- Body
- Example (auto)
Bodyrequired
- If
addressis provided in the request body, themeetingLocationTypedefaults to custom. - This value can be found in
calendar.locationConfigurationsorcalendar.teamMembers[].locationConfigurations - false - If only
meetingLocationIdis provided - true - If only
meetingLocationTypeis provided
Title
Meeting location type.
customzoomgmeetphoneaddressms_teamsgoogleThe unique identifier for the meeting location.
defaultFlag to override location config
Appointment status
newconfirmedcancelledshowednoshowinvalidcompletedactiveAssigned User Id
Appointment Description
Appointment Address
If set to true, the minimum scheduling notice and date range would be ignored
If set to false, the automations will not run. Defaults to true
trueIf true the time slot validation would be avoided for any appointment creation (even the ignoreDateRange)
RRULE as per the iCalendar (RFC 5545) specification for recurring events. DTSTART is not required, instance ids are calculated on the basis of startTime of the event. The rrule only be applied if ignoreFreeSlotValidation is true.
Calendar Id
Location Id
Contact Id
Start Time
End Time
{
"title": "Test Event",
"meetingLocationType": "custom",
"meetingLocationId": "custom_0",
"overrideLocationConfig": true,
"appointmentStatus": "confirmed",
"assignedUserId": "0007BWpSzSwfiuSl0tR2",
"description": "Booking a call to discuss the project",
"address": "Zoom",
"ignoreDateRange": false,
"toNotify": false,
"ignoreFreeSlotValidation": true,
"rrule": "RRULE:FREQ=DAILY;INTERVAL=1;COUNT=5",
"calendarId": "CVokAlI8fgw4WYWoCtQz",
"locationId": "C2QujeCh8ZnC7al2InWR",
"contactId": "0007BWpSzSwfiuSl0tR2",
"startTime": "2021-06-23T03:30:00+05:30",
"endTime": "2021-06-23T04:30:00+05:30"
}
Successful response
- application/json
- Schema
- Example (auto)
Schema
Calendar Id
Location Id
Contact Id
Start Time
End Time
Title
Meeting Location Type
defaultAppointment status
newconfirmedcancelledshowednoshowinvalidactivecompletedAssigned User Id
Appointment Address
true if the event is recurring otherwise false
RRULE as per the iCalendar (RFC 5545) specification for recurring events
Date Added
Date Updated
Id
{
"calendarId": "CVokAlI8fgw4WYWoCtQz",
"locationId": "C2QujeCh8ZnC7al2InWR",
"contactId": "0007BWpSzSwfiuSl0tR2",
"startTime": "2021-06-23T03:30:00+05:30",
"endTime": "2021-06-23T04:30:00+05:30",
"title": "Test Event",
"meetingLocationType": "custom",
"appointmentStatus": "confirmed",
"assignedUserId": "0007BWpSzSwfiuSl0tR2",
"address": "Zoom",
"isRecurring": "true",
"rrule": "RRULE:FREQ=DAILY;INTERVAL=1;COUNT=5",
"dateAdded": "2021-06-23T03:30:00+05:30",
"dateUpdated": "2021-06-23T04:30:00+05:30",
"id": "0TkCdp9PfvLeWKYRRvIz"
}