curl --request POST \
--url https://api.cal.com/v1/availabilities \
--header 'Content-Type: application/json' \
--data '{
"scheduleId": 123,
"days": [
1,
2,
3,
5
],
"startTime": "1970-01-01T17:00:00.000Z",
"endTime": "1970-01-01T17:00:00.000Z"
}'
curl --request POST \
--url https://api.cal.com/v1/availabilities \
--header 'Content-Type: application/json' \
--data '{
"scheduleId": 123,
"days": [
1,
2,
3,
5
],
"startTime": "1970-01-01T17:00:00.000Z",
"endTime": "1970-01-01T17:00:00.000Z"
}'
Your API key
Edit an existing availability related to one of your bookings
The body is of type object
.
OK, availability created
Was this page helpful?