{ "opencollection": "1.0.0", "info": { "name": "Cal.diy API v2 Api Keys Bookings / Attendees API", "version": "1.0.0" }, "items": [ { "info": { "name": "Bookings / Attendees", "type": "folder" }, "items": [ { "info": { "name": "Get all attendees for a booking", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v2/bookings/:bookingUid/attendees", "headers": [ { "name": "cal-api-version", "value": "" }, { "name": "Authorization", "value": "" } ], "params": [ { "name": "bookingUid", "value": "", "type": "path" } ] }, "docs": "Retrieve all attendees for a specific booking by its UID.\n \n The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.\n " }, { "info": { "name": "Add an attendee to a booking", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v2/bookings/:bookingUid/attendees", "headers": [ { "name": "cal-api-version", "value": "" }, { "name": "Authorization", "value": "" } ], "params": [ { "name": "bookingUid", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Add a new attendee to an existing booking by its UID.\n\n **Side effects:**\n - The booking's attendee list is updated in the database\n - The calendar event is updated on connected calendars (Google Calendar, Outlook, etc.) to include the new attendee\n - An email notification is sent to the new attendee with the booking details\n\n **Permissions:**\n - The authenticated user must be either the booking organizer, an existing attendee, or have the `booking.update` permissio" }, { "info": { "name": "Get a specific attendee for a booking", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v2/bookings/:bookingUid/attendees/:attendeeId", "headers": [ { "name": "cal-api-version", "value": "" }, { "name": "Authorization", "value": "" } ], "params": [ { "name": "bookingUid", "value": "", "type": "path" }, { "name": "attendeeId", "value": "", "type": "path" } ] }, "docs": "Retrieve a specific attendee by their ID for a booking identified by its UID.\n \n The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.\n " }, { "info": { "name": "Remove an attendee from a booking", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/v2/bookings/:bookingUid/attendees/:attendeeId", "headers": [ { "name": "cal-api-version", "value": "" }, { "name": "Authorization", "value": "" } ], "params": [ { "name": "bookingUid", "value": "", "type": "path" }, { "name": "attendeeId", "value": "", "type": "path" } ] }, "docs": "Remove an attendee from an existing booking by their attendee ID. The primary attendee (first attendee) cannot be removed — to remove them, cancel the booking instead. The removed attendee will receive a cancellation email notification.\n\n The cal-api-version header is required for this endpoint. Without it, the request will fail with a 404 error.\n " } ] } ], "bundled": true }