POST
/
v2
/
bookings
/
{bookingUid}
/
mark-absent
curl --request POST \
  --url https://api.cal.com/v2/bookings/{bookingUid}/mark-absent \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'cal-api-version: <cal-api-version>' \
  --data '{
  "host": false,
  "attendees": [
    {
      "name": "John Doe",
      "email": "[email protected]",
      "timeZone": "America/New_York",
      "phoneNumber": "+919876543210",
      "language": "it"
    }
  ]
}'
{
  "status": "success",
  "data": {
    "id": 123,
    "uid": "booking_uid_123",
    "title": "Consultation",
    "description": "Learn how to integrate scheduling into marketplace.",
    "hosts": [
      {
        "id": 1,
        "name": "Jane Doe",
        "email": "[email protected]",
        "username": "jane100",
        "timeZone": "America/Los_Angeles"
      }
    ],
    "status": "accepted",
    "cancellationReason": "User requested cancellation",
    "cancelledByEmail": "[email protected]",
    "reschedulingReason": "User rescheduled the event",
    "rescheduledByEmail": "[email protected]",
    "rescheduledFromUid": "previous_uid_123",
    "start": "2024-08-13T15:30:00Z",
    "end": "2024-08-13T16:30:00Z",
    "duration": 60,
    "eventTypeId": 50,
    "eventType": {
      "id": 1,
      "slug": "some-event"
    },
    "meetingUrl": "https://example.com/recurring-meeting",
    "location": "https://example.com/meeting",
    "absentHost": true,
    "createdAt": "2024-08-13T15:30:00Z",
    "updatedAt": "2024-08-13T15:30:00Z",
    "metadata": {
      "key": "value"
    },
    "rating": 4,
    "attendees": [
      {
        "name": "John Doe",
        "email": "[email protected]",
        "timeZone": "America/New_York",
        "phoneNumber": "+919876543210",
        "language": "it"
      }
    ],
    "guests": [
      "[email protected]",
      "[email protected]"
    ],
    "bookingFieldsResponses": {
      "customField": "customValue"
    }
  }
}

Headers

cal-api-version
string
required

Must be set to 2024-08-13

Authorization
string
required

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

Path Parameters

bookingUid
string
required

Body

application/json
host
boolean

Whether the host was absent

Example:

false

attendees
object[]

Response

200 - application/json
status
enum<string>
required
Available options:
success,
error
Example:

"success"

data
object
required

Booking data, which can be either a BookingOutput object or a RecurringBookingOutput object