Bookings

Retrieve a booking

Changed on

Retrieves a single booking by ID, including its start and end times, status, and the answers the contact gave when booking. Use expand to inline the related event type and contact.

get/bookings/{id}

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Path parameters

id, string required

The resource's ID, as returned in its id field

Query parameters

expand, string

Comma-separated relations to expand: event_type

Response

The booking

Booking required
object, string required
id, string required
event_type_id, string required
contact_id, string nullable required
order_id, string nullable required
status, 'pending' | 'confirmed' | 'cancelled' | 'completed' | 'no_show' required
livemode, boolean required
time_zone, string required
attendee_name, string nullable required
attendee_email, string nullable required
attendee_phone, string nullable required
location_details, string nullable required
meet_url, string nullable required
cancel_reason, string nullable required
created_at, string date-time required
updated_at, string date-time required
intake_answers, object[] required
start_time, string date-time required
end_time, string date-time required
cancelled_at, string date-time nullable required
event_type, union

ID by default, full object when expanded

checkout, union

ID by default, full object when expanded

Changes

    • info

      added the required property event_type/oneOf[#/components/schemas/EventType]/price_variants/items/cross_sells to the response with the status

    • info

      added the required property checkout/oneOf[#/components/schemas/Checkout]/success_url to the response with the status