Getting Started
Platform / Cal Provider
Platform / Managed Users
Platform / Webhooks
Orgs / Attributes
Orgs / Attributes / Options
Orgs / Delegation Credentials
Orgs / Event Types
Orgs / Memberships
Orgs / Orgs
Orgs / Schedules
Orgs / Teams
Orgs / Teams / Bookings
Orgs / Teams / Memberships
Orgs / Teams / Routing forms / Responses
Orgs / Teams / Schedules
Orgs / Users / OOO
Orgs / Webhooks
Api Keys
Bookings
- GETGet all bookings
- POSTCreate a booking
- GETGet a booking
- POSTReschedule a booking
- POSTCancel a booking
- POSTMark a booking absence
- POSTAutomatically reassign booking to a new host
- POSTReassign a booking to a specific user
- POSTConfirm booking that requires a confirmation
- POSTDecline booking that requires a confirmation
- GETGet 'Add to Calendar' links for a booking
Calendars
Conferencing
Destination Calendars
Event Types
Event Types / Webhooks
OAuth Clients
Schedules
Selected Calendars
Slots
Stripe
Teams / Event Types
Teams / Memberships
Timezones
Updated reserved a slot
curl --request PATCH \
--url https://api.cal.com/v2/slots/reservations/{uid} \
--header 'Content-Type: application/json' \
--header 'cal-api-version: <cal-api-version>' \
--data '{
"eventTypeId": 1,
"slotStart": "2024-09-04T09:00:00Z",
"slotDuration": "30",
"reservationDuration": 5
}'
{
"status": "success",
"data": {
"eventTypeId": 1,
"slotStart": "2024-09-04T09:00:00Z",
"slotEnd": "2024-09-04T10:00:00Z",
"slotDuration": "30",
"reservationUid": "e84be5a3-4696-49e3-acc7-b2f3999c3b94",
"reservationDuration": 5,
"reservationUntil": "2023-09-04T10:00:00Z"
}
}
Headers
Must be set to 2024-09-04
Path Parameters
Body
The ID of the event type for which slot should be reserved.
1
ISO 8601 datestring in UTC timezone representing available slot.
"2024-09-04T09:00:00Z"
By default slot duration is equal to event type length, but if you want to reserve a slot for an event type that has a variable length you can specify it here as a number in minutes. If you don't have this set explicitly that event type can have one of many lengths you can omit this.
"30"
ONLY for authenticated requests with api key, access token or OAuth credentials (ID + secret).
For how many minutes the slot should be reserved - for this long time noone else can book this event type at `start` time. If not provided, defaults to 5 minutes.
5
Response
success
, error
"success"
The ID of the event type for which slot was reserved.
1
ISO 8601 datestring in UTC timezone representing available slot.
"2024-09-04T09:00:00Z"
ISO 8601 datestring in UTC timezone representing slot end.
"2024-09-04T10:00:00Z"
By default slot duration is equal to event type length, but if you want to reserve a slot for an event type that has a variable length you can specify it here. If you don't have this set explicitly that event type can have one of many lengths you can omit this.
"30"
The unique identifier of the reservation. Use it to update, get or delete the reservation.
"e84be5a3-4696-49e3-acc7-b2f3999c3b94"
For how many minutes the slot is reserved - for this long time noone else can book this event type at start
time.
5
ISO 8601 datestring in UTC timezone representing time until which the slot is reserved.
"2023-09-04T10:00:00Z"
Was this page helpful?
curl --request PATCH \
--url https://api.cal.com/v2/slots/reservations/{uid} \
--header 'Content-Type: application/json' \
--header 'cal-api-version: <cal-api-version>' \
--data '{
"eventTypeId": 1,
"slotStart": "2024-09-04T09:00:00Z",
"slotDuration": "30",
"reservationDuration": 5
}'
{
"status": "success",
"data": {
"eventTypeId": 1,
"slotStart": "2024-09-04T09:00:00Z",
"slotEnd": "2024-09-04T10:00:00Z",
"slotDuration": "30",
"reservationUid": "e84be5a3-4696-49e3-acc7-b2f3999c3b94",
"reservationDuration": 5,
"reservationUntil": "2023-09-04T10:00:00Z"
}
}