POST
/
v2
/
slots
/
reservations
curl --request POST \
  --url https://api.cal.com/v2/slots/reservations \
  --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

cal-api-version
string
default:2024-09-04
required

Must be set to 2024-09-04

Authorization
string

value must be Bearer <token> where <token> is api key prefixed with cal_ or managed user access token

x-cal-client-id
string

For platform customers - OAuth client ID

Body

application/json

Response

201 - application/json

The response is of type object.