Docs
Quick Start
  • Getting Started Guide
  • Postman Collection
  • Booking Workflow Guide
Endpoints
  • Events
  • Venues
  • Spaces
  • Bookings
  • Availability
  • Event Categories
  • Event Types
  • BMS
  • Authentication
  1. Home
  2. Docs
  3. Bookings

Bookings

Create, update, and manage bookings

How booking writes behave

A booking belongs to an event and a space. Writes are checked against the space's calendar: a clash with a confirmed booking always fails, a clash with a tentative one fails unless you send force. Bookings of the same event never clash with each other.

A key can update or cancel only bookings created by its own API client, never ones made in Booka, and the venue must be inside its venue restriction.

List bookings

GET/api/external/bookings

Bookings in the key's venues, ordered by start. Events marked confidential are redacted unless the key holds events.confidential.

Required scope: bookings.read · Headers: X-API-Key (staging also X-Tenant)

Query parameters

NameTypeRequiredDescription
venue_idintegerNoOnly this venue.
space_idintegerNoOnly this space.
fromdateNoBookings ending on or after this time.
todateNoBookings starting on or before this time.

Example request

curl -X GET "$BASE_URL/api/external/bookings?venue_id=1&from=2027-04-01&to=2027-04-30" \
  -H "X-API-Key: $API_KEY" \
  -H "X-Tenant: $TENANT" \
  -H "Accept: application/json"

Responses

200 A data array of bookings.

{
  "data": [
    {
      "id": 1,
      "event_id": 2,
      "venue_id": 1,
      "space_id": 1,
      "booking_link_id": null,
      "start_datetime": "2027-04-09T23:00:00+00:00",
      "end_datetime": "2027-04-10T07:00:00+00:00",
      "event_start": "2027-04-09T23:00:00+00:00",
      "event_end": "2027-04-10T07:00:00+00:00",
      "timezone": "Australia/Sydney",
      "day_index": 0,
      "is_first_day": true,
      "is_last_day": true,
      "setup_minutes": 60,
      "breakdown_minutes": 30,
      "bump_in_minutes": 0,
      "bump_out_minutes": 0,
      "setup_start": "2027-04-09T22:00:00+00:00",
      "breakdown_end": "2027-04-10T07:30:00+00:00",
      "bump_in_start": "2027-04-09T23:00:00+00:00",
      "bump_out_end": "2027-04-10T07:00:00+00:00",
      "status": "confirmed",
      "notes": "Main hall for expo",
      "allocated_to": null,
      "approval_status": "approved",
      "approval_type": null,
      "secondary_approval_type": null,
      "secondary_approval_status": null,
      "is_double_booking": false,
      "conflicting_booking_id": null,
      "conflict_override_reason": null,
      "approval_resolution_reason": null,
      "created_by": "external:1",
      "requires_approval": false,
      "created_at": "2026-11-24T07:15:27+00:00",
      "updated_at": "2026-11-24T07:15:27+00:00",
      "space": {
        "id": 1,
        "venue_id": 1,
        "parent_space_id": null,
        "code": null,
        "item_code": null,
        "name": "Main Hall",
        "description": null,
        "sort_order": 0,
        "image_url": null,
        "space_type": null,
        "hex": null,
        "space_category": null,
        "is_bookable": true,
        "is_composite": false,
        "is_active": true,
        "allocated_space": false,
        "is_vip": false,
        "requires_owner_approval": false,
        "capacity_seated": null,
        "capacity_standing": null,
        "floor_area": null,
        "booking_restrictions": null,
        "bms_zone_code": null,
        "bms_metadata": null,
        "metadata": null,
        "created_at": "2026-11-24T07:14:41+00:00",
        "updated_at": "2026-11-24T07:14:41+00:00"
      }
    }
  ]
}

401 Missing, unknown, inactive or expired API key.

{
  "error": "Unauthorized",
  "message": "Invalid or expired API key.",
  "code": "UNAUTHORIZED",
  "timestamp": "2026-11-24T07:16:04Z"
}

403 The key lacks the required scope, or the venue is outside the key's venue restriction.

{
  "message": "This API key is not permitted to read bookings."
}

422 Validation failed. errors maps each field to its messages.

{
  "message": "The given data was invalid.",
  "errors": {
    "venue_id": [
      "The selected venue id is invalid."
    ]
  }
}

429 The key's per-minute rate limit was exceeded. Wait retry_after seconds.

{
  "error": "Too Many Requests",
  "message": "Rate limit exceeded.",
  "code": "TOO_MANY_REQUESTS",
  "timestamp": "2026-11-24T07:16:04Z",
  "retry_after": 42
}

Get a booking

GET/api/external/bookings/{booking}

One booking in the v1 shape: the booking plus venue, space and event fields.

Required scope: bookings.read · Headers: X-API-Key (staging also X-Tenant)

Path parameters

NameTypeRequiredDescription
bookingintegerYesBooking id.

Example request

curl -X GET "$BASE_URL/api/external/bookings/{booking}" \
  -H "X-API-Key: $API_KEY" \
  -H "X-Tenant: $TENANT" \
  -H "Accept: application/json"

Responses

200 The booking and a meta timestamp.

{
  "data": {
    "id": 1,
    "event_id": 2,
    "venue_id": 1,
    "space_id": 1,
    "booking_link_id": null,
    "start_datetime": "2027-04-09T23:00:00+00:00",
    "end_datetime": "2027-04-10T07:00:00+00:00",
    "event_start": "2027-04-09T23:00:00+00:00",
    "event_end": "2027-04-10T07:00:00+00:00",
    "timezone": "Australia/Sydney",
    "day_index": 0,
    "is_first_day": true,
    "is_last_day": true,
    "setup_minutes": 60,
    "breakdown_minutes": 30,
    "bump_in_minutes": 0,
    "bump_out_minutes": 0,
    "setup_start": "2027-04-09T22:00:00+00:00",
    "breakdown_end": "2027-04-10T07:30:00+00:00",
    "bump_in_start": "2027-04-09T23:00:00+00:00",
    "bump_out_end": "2027-04-10T07:00:00+00:00",
    "status": "confirmed",
    "notes": "Main hall for expo",
    "allocated_to": null,
    "approval_status": "approved",
    "approval_type": null,
    "secondary_approval_type": null,
    "secondary_approval_status": null,
    "is_double_booking": false,
    "conflicting_booking_id": null,
    "conflict_override_reason": null,
    "approval_resolution_reason": null,
    "created_by": "external:1",
    "requires_approval": false,
    "created_at": "2026-11-24T07:15:27+00:00",
    "updated_at": "2026-11-24T07:15:27+00:00",
    "space": {
      "id": 1,
      "venue_id": 1,
      "parent_space_id": null,
      "code": null,
      "item_code": null,
      "name": "Main Hall",
      "description": null,
      "sort_order": 0,
      "image_url": null,
      "space_type": null,
      "hex": null,
      "space_category": null,
      "is_bookable": true,
      "is_composite": false,
      "is_active": true,
      "allocated_space": false,
      "is_vip": false,
      "requires_owner_approval": false,
      "capacity_seated": null,
      "capacity_standing": null,
      "floor_area": null,
      "booking_restrictions": null,
      "bms_zone_code": null,
      "bms_metadata": null,
      "metadata": null,
      "created_at": "2026-11-24T07:14:41+00:00",
      "updated_at": "2026-11-24T07:14:41+00:00"
    },
    "venue": {
      "id": 1,
      "name": "Harbour Arena",
      "code": "HRB"
    },
    "venue_name": "Harbour Arena",
    "space_name": "Main Hall",
    "description": "Autumn Expo",
    "external_reference": null,
    "event_category": "Tier 5 Event",
    "event_type": 1,
    "is_confidential": false
  },
  "meta": {
    "timestamp": "2026-11-24T07:15:30Z"
  }
}

401 Missing, unknown, inactive or expired API key.

{
  "error": "Unauthorized",
  "message": "Invalid or expired API key.",
  "code": "UNAUTHORIZED",
  "timestamp": "2026-11-24T07:16:04Z"
}

403 The key lacks the required scope, or the venue is outside the key's venue restriction.

{
  "error": "Forbidden",
  "message": "This API key is not permitted to read bookings.",
  "code": "FORBIDDEN",
  "timestamp": "2026-11-24T07:16:04Z"
}

404 Not found, or outside the key's venue restriction.

{
  "error": "Not Found",
  "message": "No query results for model [App\\Models\\Booking] 9999",
  "code": "NOT_FOUND",
  "timestamp": "2026-11-24T07:16:04Z"
}

429 The key's per-minute rate limit was exceeded. Wait retry_after seconds.

{
  "error": "Too Many Requests",
  "message": "Rate limit exceeded.",
  "code": "TOO_MANY_REQUESTS",
  "timestamp": "2026-11-24T07:16:04Z",
  "retry_after": 42
}

Create a booking

POST/api/external/bookings

Books one space for an existing event. data is an array because a booking can come back as several rows (one per day when split_days is set, plus child spaces of a composite space).

Required scope: bookings.write · Headers: X-API-Key (staging also X-Tenant)

Request body (JSON)

NameTypeRequiredDescription
event_idintegerYesAn event visible to the key.
space_idintegerYesA bookable space inside the key's venue restriction.
start_datetimeISO 8601YesStart. A UTC offset is honoured.
end_datetimeISO 8601YesEnd, after start_datetime.
timezonestring(50)NoIANA timezone used for day splitting and conflict checks. Default Australia/Sydney.
split_daysbooleanNoSplit a multi-day booking into one row per day.
setup_minutesintegerNoSetup time before the start, 0 to 43200.
breakdown_minutesintegerNoBreakdown time after the end, 0 to 43200.
bump_in_minutesintegerNoBump-in time, 0 to 43200.
bump_out_minutesintegerNoBump-out time, 0 to 43200.
statusstring(50)Noenquiry, hold, option or confirmed. Send it explicitly: conflicts are checked as confirmed when it is omitted.
notesstringNoFree text.
forcebooleanNoOverride a clash with a tentative booking. Never overrides a confirmed one.

v1 body. A body containing space_ids (an array, up to 20) is read as v1's shape: venue_id (one id or a list), space_ids, start_datetime, end_datetime, optional setup_start / breakdown_end datetimes, status (tentative, enquiry, hold, option, confirmed, cancelled, completed), and optional event_id. Without an event_id an event is created from description, notes, external_reference, event_category, event_type and is_confidential. There is no force on this body: any overlap is refused.

Example request

curl -X POST "$BASE_URL/api/external/bookings" \
  -H "X-API-Key: $API_KEY" \
  -H "X-Tenant: $TENANT" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"event_id":2,"space_id":1,"start_datetime":"2027-04-10T09:00:00+10:00","end_datetime":"2027-04-10T17:00:00+10:00","timezone":"Australia/Sydney","setup_minutes":60,"breakdown_minutes":30,"status":"confirmed","notes":"Main hall for expo"}'

Responses

201 The created rows and a meta timestamp.

{
  "data": [
    {
      "id": 1,
      "event_id": 2,
      "venue_id": 1,
      "space_id": 1,
      "booking_link_id": null,
      "start_datetime": "2027-04-09T23:00:00+00:00",
      "end_datetime": "2027-04-10T07:00:00+00:00",
      "event_start": "2027-04-09T23:00:00+00:00",
      "event_end": "2027-04-10T07:00:00+00:00",
      "timezone": "Australia/Sydney",
      "day_index": 0,
      "is_first_day": true,
      "is_last_day": true,
      "setup_minutes": 60,
      "breakdown_minutes": 30,
      "bump_in_minutes": 0,
      "bump_out_minutes": 0,
      "setup_start": "2027-04-09T22:00:00+00:00",
      "breakdown_end": "2027-04-10T07:30:00+00:00",
      "bump_in_start": "2027-04-09T23:00:00+00:00",
      "bump_out_end": "2027-04-10T07:00:00+00:00",
      "status": "confirmed",
      "notes": "Main hall for expo",
      "allocated_to": null,
      "approval_status": "approved",
      "approval_type": null,
      "secondary_approval_type": null,
      "secondary_approval_status": null,
      "is_double_booking": false,
      "conflicting_booking_id": null,
      "conflict_override_reason": null,
      "approval_resolution_reason": null,
      "created_by": "external:1",
      "requires_approval": false,
      "created_at": "2026-11-24T07:15:27+00:00",
      "updated_at": "2026-11-24T07:15:27+00:00",
      "space": {
        "id": 1,
        "venue_id": 1,
        "parent_space_id": null,
        "code": null,
        "item_code": null,
        "name": "Main Hall",
        "description": null,
        "sort_order": 0,
        "image_url": null,
        "space_type": null,
        "hex": null,
        "space_category": null,
        "is_bookable": true,
        "is_composite": false,
        "is_active": true,
        "allocated_space": false,
        "is_vip": false,
        "requires_owner_approval": false,
        "capacity_seated": null,
        "capacity_standing": null,
        "floor_area": null,
        "booking_restrictions": null,
        "bms_zone_code": null,
        "bms_metadata": null,
        "metadata": null,
        "created_at": "2026-11-24T07:14:41+00:00",
        "updated_at": "2026-11-24T07:14:41+00:00"
      },
      "venue": {
        "id": 1,
        "name": "Harbour Arena",
        "code": "HRB"
      },
      "venue_name": "Harbour Arena",
      "space_name": "Main Hall",
      "description": "Autumn Expo",
      "external_reference": null,
      "event_category": "Tier 5 Event",
      "event_type": 1,
      "is_confidential": false
    }
  ],
  "meta": {
    "timestamp": "2026-11-24T07:15:27Z"
  }
}

400 Validation failed (this route uses the v1 error envelope).

{
  "error": "Bad Request",
  "message": "The from field is required. (and 1 more error)",
  "code": "INVALID_PARAMS",
  "timestamp": "2026-11-24T07:16:04Z",
  "details": {
    "end_datetime": [
      "The end datetime field must be a date after start datetime."
    ]
  }
}

401 Missing, unknown, inactive or expired API key.

{
  "error": "Unauthorized",
  "message": "Invalid or expired API key.",
  "code": "UNAUTHORIZED",
  "timestamp": "2026-11-24T07:16:04Z"
}

403 The key lacks the required scope, or the venue is outside the key's venue restriction.

{
  "error": "Forbidden",
  "message": "This API key is not permitted to write bookings.",
  "code": "FORBIDDEN",
  "timestamp": "2026-11-24T07:16:04Z"
}

409 Overlaps an existing booking (this route uses the v1 envelope). details.overridable is false for a confirmed clash.

{
  "error": "Conflict",
  "message": "Booking conflicts with an existing confirmed booking.",
  "code": "CONFLICT",
  "timestamp": "2026-11-24T07:15:55Z",
  "details": {
    "overridable": false,
    "conflicts": [
      {
        "booking_id": 1,
        "booking_link_id": null,
        "space_id": 1,
        "event_id": 2,
        "status": "confirmed",
        "start": "2027-04-09T23:00:00.000Z",
        "end": "2027-04-10T07:00:00.000Z",
        "occupied_start": "2027-04-09T21:30:00.000Z",
        "occupied_end": "2027-04-10T07:30:00.000Z",
        "severity": "hard"
      }
    ]
  }
}

429 The key's per-minute rate limit was exceeded. Wait retry_after seconds.

{
  "error": "Too Many Requests",
  "message": "Rate limit exceeded.",
  "code": "TOO_MANY_REQUESTS",
  "timestamp": "2026-11-24T07:16:04Z",
  "retry_after": 42
}

Update a booking

PUT/api/external/bookings/{booking}

Partial update of a booking this key's client created. The resulting window is checked for clashes, excluding the booking itself.

Required scope: bookings.write · Headers: X-API-Key (staging also X-Tenant)

Path parameters

NameTypeRequiredDescription
bookingintegerYesBooking id.

Request body (JSON)

NameTypeRequiredDescription
space_idintegerNoMove to another space (its venue must be in scope).
start_datetimeISO 8601NoNew start.
end_datetimeISO 8601NoNew end, after start_datetime.
timezonestring(50)NoIANA timezone.
setup_minutesintegerNoSetup time before the start, 0 to 43200.
breakdown_minutesintegerNoBreakdown time after the end, 0 to 43200.
bump_in_minutesintegerNoBump-in time, 0 to 43200.
bump_out_minutesintegerNoBump-out time, 0 to 43200.
statusstring(50)NoNew status.
notesstringNoFree text.
forcebooleanNoOverride a clash with a tentative booking.

Example request

curl -X PUT "$BASE_URL/api/external/bookings/{booking}" \
  -H "X-API-Key: $API_KEY" \
  -H "X-Tenant: $TENANT" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"notes":"Updated notes","setup_minutes":90}'

Responses

200 The updated booking.

{
  "data": {
    "id": 1,
    "event_id": 2,
    "venue_id": 1,
    "space_id": 1,
    "booking_link_id": null,
    "start_datetime": "2027-04-09T23:00:00+00:00",
    "end_datetime": "2027-04-10T07:00:00+00:00",
    "event_start": "2027-04-09T23:00:00+00:00",
    "event_end": "2027-04-10T07:00:00+00:00",
    "timezone": "Australia/Sydney",
    "day_index": 0,
    "is_first_day": true,
    "is_last_day": true,
    "setup_minutes": 90,
    "breakdown_minutes": 30,
    "bump_in_minutes": 0,
    "bump_out_minutes": 0,
    "setup_start": "2027-04-09T21:30:00+00:00",
    "breakdown_end": "2027-04-10T07:30:00+00:00",
    "bump_in_start": "2027-04-09T23:00:00+00:00",
    "bump_out_end": "2027-04-10T07:00:00+00:00",
    "status": "confirmed",
    "notes": "Updated notes",
    "allocated_to": null,
    "approval_status": "approved",
    "approval_type": null,
    "secondary_approval_type": null,
    "secondary_approval_status": null,
    "is_double_booking": false,
    "conflicting_booking_id": null,
    "conflict_override_reason": null,
    "approval_resolution_reason": null,
    "created_by": "external:1",
    "requires_approval": false,
    "created_at": "2026-11-24T07:15:27+00:00",
    "updated_at": "2026-11-24T07:15:27+00:00",
    "space": {
      "id": 1,
      "venue_id": 1,
      "parent_space_id": null,
      "code": null,
      "item_code": null,
      "name": "Main Hall",
      "description": null,
      "sort_order": 0,
      "image_url": null,
      "space_type": null,
      "hex": null,
      "space_category": null,
      "is_bookable": true,
      "is_composite": false,
      "is_active": true,
      "allocated_space": false,
      "is_vip": false,
      "requires_owner_approval": false,
      "capacity_seated": null,
      "capacity_standing": null,
      "floor_area": null,
      "booking_restrictions": null,
      "bms_zone_code": null,
      "bms_metadata": null,
      "metadata": null,
      "created_at": "2026-11-24T07:14:41+00:00",
      "updated_at": "2026-11-24T07:14:41+00:00"
    }
  }
}

401 Missing, unknown, inactive or expired API key.

{
  "error": "Unauthorized",
  "message": "Invalid or expired API key.",
  "code": "UNAUTHORIZED",
  "timestamp": "2026-11-24T07:16:04Z"
}

403 The key lacks the required scope, or the venue is outside the key's venue restriction.

{
  "message": "This API key may only modify bookings its own API client created, and not those of confidential events."
}

404 Not found, or outside the key's venue restriction.

{
  "message": "No query results for model [App\\Models\\Booking] 9999"
}

422 Overlaps an existing booking. overridable is true for a clash with a tentative booking: resend with force true to override it.

{
  "message": "Booking conflicts with an existing confirmed booking.",
  "overridable": false,
  "conflicts": [
    {
      "booking_id": 1,
      "booking_link_id": null,
      "space_id": 1,
      "event_id": 2,
      "status": "confirmed",
      "start": "2027-04-09T23:00:00.000Z",
      "end": "2027-04-10T07:00:00.000Z",
      "occupied_start": "2027-04-09T21:30:00.000Z",
      "occupied_end": "2027-04-10T07:30:00.000Z",
      "severity": "hard"
    }
  ]
}

422 Validation failed. errors maps each field to its messages.

{
  "message": "The given data was invalid.",
  "errors": {
    "end_datetime": [
      "The end datetime field must be a date after start datetime."
    ]
  }
}

429 The key's per-minute rate limit was exceeded. Wait retry_after seconds.

{
  "error": "Too Many Requests",
  "message": "Rate limit exceeded.",
  "code": "TOO_MANY_REQUESTS",
  "timestamp": "2026-11-24T07:16:04Z",
  "retry_after": 42
}

Cancel a booking

DELETE/api/external/bookings/{booking}

Removes a booking this key's client created. It is a soft delete, so Booka staff can restore it.

Required scope: bookings.delete · Headers: X-API-Key (staging also X-Tenant)

Path parameters

NameTypeRequiredDescription
bookingintegerYesBooking id.

Example request

curl -X DELETE "$BASE_URL/api/external/bookings/{booking}" \
  -H "X-API-Key: $API_KEY" \
  -H "X-Tenant: $TENANT" \
  -H "Accept: application/json"

Responses

200 Deleted.

{
  "status": "ok"
}

401 Missing, unknown, inactive or expired API key.

{
  "error": "Unauthorized",
  "message": "Invalid or expired API key.",
  "code": "UNAUTHORIZED",
  "timestamp": "2026-11-24T07:16:04Z"
}

403 The key lacks the required scope, or the venue is outside the key's venue restriction.

{
  "message": "This API key may only modify bookings its own API client created, and not those of confidential events."
}

404 Not found, or outside the key's venue restriction.

{
  "message": "No query results for model [App\\Models\\Booking] 9999"
}

429 The key's per-minute rate limit was exceeded. Wait retry_after seconds.

{
  "error": "Too Many Requests",
  "message": "Rate limit exceeded.",
  "code": "TOO_MANY_REQUESTS",
  "timestamp": "2026-11-24T07:16:04Z",
  "retry_after": 42
}

Fetch bookings in bulk

POST/api/external/bookings/bulk-fetch

Fetches many bookings by id. Ids the key cannot see are left out of the result without an error.

Required scope: bookings.read · Headers: X-API-Key (staging also X-Tenant)

Request body (JSON)

NameTypeRequiredDescription
booking_idsinteger[]Yes1 to 500 booking ids.

Example request

curl -X POST "$BASE_URL/api/external/bookings/bulk-fetch" \
  -H "X-API-Key: $API_KEY" \
  -H "X-Tenant: $TENANT" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"booking_ids":[1,999]}'

Responses

200 A data array of the bookings found.

{
  "data": [
    {
      "id": 1,
      "event_id": 2,
      "venue_id": 1,
      "space_id": 1,
      "booking_link_id": null,
      "start_datetime": "2027-04-09T23:00:00+00:00",
      "end_datetime": "2027-04-10T07:00:00+00:00",
      "event_start": "2027-04-09T23:00:00+00:00",
      "event_end": "2027-04-10T07:00:00+00:00",
      "timezone": "Australia/Sydney",
      "day_index": 0,
      "is_first_day": true,
      "is_last_day": true,
      "setup_minutes": 60,
      "breakdown_minutes": 30,
      "bump_in_minutes": 0,
      "bump_out_minutes": 0,
      "setup_start": "2027-04-09T22:00:00+00:00",
      "breakdown_end": "2027-04-10T07:30:00+00:00",
      "bump_in_start": "2027-04-09T23:00:00+00:00",
      "bump_out_end": "2027-04-10T07:00:00+00:00",
      "status": "confirmed",
      "notes": "Main hall for expo",
      "allocated_to": null,
      "approval_status": "approved",
      "approval_type": null,
      "secondary_approval_type": null,
      "secondary_approval_status": null,
      "is_double_booking": false,
      "conflicting_booking_id": null,
      "conflict_override_reason": null,
      "approval_resolution_reason": null,
      "created_by": "external:1",
      "requires_approval": false,
      "created_at": "2026-11-24T07:15:27+00:00",
      "updated_at": "2026-11-24T07:15:27+00:00",
      "space": {
        "id": 1,
        "venue_id": 1,
        "parent_space_id": null,
        "code": null,
        "item_code": null,
        "name": "Main Hall",
        "description": null,
        "sort_order": 0,
        "image_url": null,
        "space_type": null,
        "hex": null,
        "space_category": null,
        "is_bookable": true,
        "is_composite": false,
        "is_active": true,
        "allocated_space": false,
        "is_vip": false,
        "requires_owner_approval": false,
        "capacity_seated": null,
        "capacity_standing": null,
        "floor_area": null,
        "booking_restrictions": null,
        "bms_zone_code": null,
        "bms_metadata": null,
        "metadata": null,
        "created_at": "2026-11-24T07:14:41+00:00",
        "updated_at": "2026-11-24T07:14:41+00:00"
      }
    }
  ]
}

401 Missing, unknown, inactive or expired API key.

{
  "error": "Unauthorized",
  "message": "Invalid or expired API key.",
  "code": "UNAUTHORIZED",
  "timestamp": "2026-11-24T07:16:04Z"
}

403 The key lacks the required scope, or the venue is outside the key's venue restriction.

{
  "message": "This API key is not permitted to read bookings."
}

422 Validation failed. errors maps each field to its messages.

{
  "message": "The given data was invalid.",
  "errors": {
    "booking_ids": [
      "The booking ids field is required."
    ]
  }
}

429 The key's per-minute rate limit was exceeded. Wait retry_after seconds.

{
  "error": "Too Many Requests",
  "message": "Rate limit exceeded.",
  "code": "TOO_MANY_REQUESTS",
  "timestamp": "2026-11-24T07:16:04Z",
  "retry_after": 42
}

Update bookings in bulk

POST/api/external/bookings/bulk-update

Applies the same changes to many bookings, one at a time under the single-update rules. The response classifies each id; the request itself still returns 200. There is no force here, so tentative clashes block too.

Required scope: bookings.write · Headers: X-API-Key (staging also X-Tenant)

Request body (JSON)

NameTypeRequiredDescription
booking_idsinteger[]Yes1 to 500 booking ids.
attributesobjectYesAny of start_datetime, end_datetime, timezone, setup_minutes, breakdown_minutes, bump_in_minutes, bump_out_minutes, status, notes. event_id and venue_id cannot be changed.

Per-id status: ok, not_found, forbidden(not this client's booking or out of scope), conflict, approval_required, invalid (with a message), locked (retry) or error.

Example request

curl -X POST "$BASE_URL/api/external/bookings/bulk-update" \
  -H "X-API-Key: $API_KEY" \
  -H "X-Tenant: $TENANT" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"booking_ids":[1,999],"attributes":{"notes":"Bulk note"}}'

Responses

200 One result per id.

{
  "results": [
    {
      "id": 1,
      "status": "ok"
    },
    {
      "id": 999,
      "status": "not_found"
    }
  ]
}

401 Missing, unknown, inactive or expired API key.

{
  "error": "Unauthorized",
  "message": "Invalid or expired API key.",
  "code": "UNAUTHORIZED",
  "timestamp": "2026-11-24T07:16:04Z"
}

403 The key lacks the required scope, or the venue is outside the key's venue restriction.

{
  "message": "This API key is not permitted to write bookings."
}

422 Validation failed. errors maps each field to its messages.

{
  "message": "The given data was invalid.",
  "errors": {
    "attributes": [
      "The attributes field is required."
    ]
  }
}

429 The key's per-minute rate limit was exceeded. Wait retry_after seconds.

{
  "error": "Too Many Requests",
  "message": "Rate limit exceeded.",
  "code": "TOO_MANY_REQUESTS",
  "timestamp": "2026-11-24T07:16:04Z",
  "retry_after": 42
}

Cancel bookings in bulk

POST/api/external/bookings/bulk-cancel

Cancels many bookings as the single delete does. Per-id status is ok, not_found, forbidden, locked or error.

Required scope: bookings.delete · Headers: X-API-Key (staging also X-Tenant)

Request body (JSON)

NameTypeRequiredDescription
booking_idsinteger[]Yes1 to 500 booking ids.

Example request

curl -X POST "$BASE_URL/api/external/bookings/bulk-cancel" \
  -H "X-API-Key: $API_KEY" \
  -H "X-Tenant: $TENANT" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"booking_ids":[3,1,999]}'

Responses

200 One result per id.

{
  "results": [
    {
      "id": 3,
      "status": "ok"
    },
    {
      "id": 1,
      "status": "ok"
    },
    {
      "id": 999,
      "status": "not_found"
    }
  ]
}

401 Missing, unknown, inactive or expired API key.

{
  "error": "Unauthorized",
  "message": "Invalid or expired API key.",
  "code": "UNAUTHORIZED",
  "timestamp": "2026-11-24T07:16:04Z"
}

403 The key lacks the required scope, or the venue is outside the key's venue restriction.

{
  "message": "This API key is not permitted to delete bookings."
}

422 Validation failed. errors maps each field to its messages.

{
  "message": "The given data was invalid.",
  "errors": {
    "booking_ids": [
      "The booking ids field is required."
    ]
  }
}

429 The key's per-minute rate limit was exceeded. Wait retry_after seconds.

{
  "error": "Too Many Requests",
  "message": "Rate limit exceeded.",
  "code": "TOO_MANY_REQUESTS",
  "timestamp": "2026-11-24T07:16:04Z",
  "retry_after": 42
}

Submit a booking request

POST/api/external/booking-requests

Captures a waitlist request as pending for a venue manager to approve. No clash check runs now; it happens at approval.

Required scope: booking_requests.write · Headers: X-API-Key (staging also X-Tenant)

Request body (JSON)

NameTypeRequiredDescription
venue_idintegerYesVenue inside the key's restriction.
space_idintegerNoA space of that venue.
event_idintegerNoAn existing event visible to the key.
requested_startISO 8601YesRequested start. Send in UTC.
requested_endISO 8601YesRequested end, after the start.
timezonestring(50)NoIANA timezone.
requester_namestring(255)YesWho is asking.
requester_emailemailYesContact email.
requester_phonestring(255)NoContact phone.
requester_organisationstring(255)NoOrganisation.
requester_abnstring(20)NoABN.
requester_addressstring(1000)NoAddress.
party_sizeintegerNoExpected people, at least 1.
notesstringNoFree text.

Example request

curl -X POST "$BASE_URL/api/external/booking-requests" \
  -H "X-API-Key: $API_KEY" \
  -H "X-Tenant: $TENANT" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"venue_id":1,"space_id":1,"requested_start":"2027-06-01T09:00:00Z","requested_end":"2027-06-01T12:00:00Z","timezone":"Australia/Sydney","requester_name":"Sam Example","requester_email":"sam@example.com","requester_organisation":"Example Pty Ltd","party_size":40,"notes":"Workshop"}'

Responses

201 The pending request.

{
  "data": {
    "id": 1,
    "event_id": null,
    "venue_id": 1,
    "space_id": 1,
    "requested_start": "2027-06-01T09:00:00+00:00",
    "requested_end": "2027-06-01T12:00:00+00:00",
    "timezone": "Australia/Sydney",
    "requester_name": "Sam Example",
    "requester_email": "sam@example.com",
    "requester_phone": null,
    "party_size": 40,
    "notes": "Workshop",
    "status": "pending",
    "actioned_by": null,
    "actioned_at": null,
    "rejection_reason": null,
    "created_booking_id": null,
    "created_at": "2026-11-24T07:15:55+00:00",
    "updated_at": "2026-11-24T07:15:55+00:00"
  }
}

401 Missing, unknown, inactive or expired API key.

{
  "error": "Unauthorized",
  "message": "Invalid or expired API key.",
  "code": "UNAUTHORIZED",
  "timestamp": "2026-11-24T07:16:04Z"
}

403 The key lacks the required scope, or the venue is outside the key's venue restriction.

{
  "message": "This API key is not permitted to write booking_requests."
}

422 Validation failed. errors maps each field to its messages.

{
  "message": "The given data was invalid.",
  "errors": {
    "venue_id": [
      "The venue id field is required."
    ],
    "requested_start": [
      "The requested start field is required."
    ]
  }
}

429 The key's per-minute rate limit was exceeded. Wait retry_after seconds.

{
  "error": "Too Many Requests",
  "message": "Rate limit exceeded.",
  "code": "TOO_MANY_REQUESTS",
  "timestamp": "2026-11-24T07:16:04Z",
  "retry_after": 42
}