curl --request POST \
--url https://api.cal.com/v2/bookings/{bookingUid}/reassign/{userId} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--header 'cal-api-version: <cal-api-version>' \
--data '{
"reason": "Host has to take another call"
}'
{
"status": "success",
"data": {}
}
Currently only supports reassigning host for round robin bookings. The provided authorization header refers to the owner of the booking.
curl --request POST \
--url https://api.cal.com/v2/bookings/{bookingUid}/reassign/{userId} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--header 'cal-api-version: <cal-api-version>' \
--data '{
"reason": "Host has to take another call"
}'
{
"status": "success",
"data": {}
}
Must be set to 2024-08-13
value must be Bearer <token>
where <token>
is api key prefixed with cal_ or managed user access token
The response is of type object
.
Was this page helpful?