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.
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)
| Name | Type | Required | Description |
|---|---|---|---|
| venue_id | integer | No | Only this venue. |
| space_id | integer | No | Only this space. |
| from | date | No | Bookings ending on or after this time. |
| to | date | No | Bookings starting on or before this time. |
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"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
}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)
| Name | Type | Required | Description |
|---|---|---|---|
| booking | integer | Yes | Booking id. |
curl -X GET "$BASE_URL/api/external/bookings/{booking}" \
-H "X-API-Key: $API_KEY" \
-H "X-Tenant: $TENANT" \
-H "Accept: application/json"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
}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)
| Name | Type | Required | Description |
|---|---|---|---|
| event_id | integer | Yes | An event visible to the key. |
| space_id | integer | Yes | A bookable space inside the key's venue restriction. |
| start_datetime | ISO 8601 | Yes | Start. A UTC offset is honoured. |
| end_datetime | ISO 8601 | Yes | End, after start_datetime. |
| timezone | string(50) | No | IANA timezone used for day splitting and conflict checks. Default Australia/Sydney. |
| split_days | boolean | No | Split a multi-day booking into one row per day. |
| setup_minutes | integer | No | Setup time before the start, 0 to 43200. |
| breakdown_minutes | integer | No | Breakdown time after the end, 0 to 43200. |
| bump_in_minutes | integer | No | Bump-in time, 0 to 43200. |
| bump_out_minutes | integer | No | Bump-out time, 0 to 43200. |
| status | string(50) | No | enquiry, hold, option or confirmed. Send it explicitly: conflicts are checked as confirmed when it is omitted. |
| notes | string | No | Free text. |
| force | boolean | No | Override 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.
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"}'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
}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)
| Name | Type | Required | Description |
|---|---|---|---|
| booking | integer | Yes | Booking id. |
| Name | Type | Required | Description |
|---|---|---|---|
| space_id | integer | No | Move to another space (its venue must be in scope). |
| start_datetime | ISO 8601 | No | New start. |
| end_datetime | ISO 8601 | No | New end, after start_datetime. |
| timezone | string(50) | No | IANA timezone. |
| setup_minutes | integer | No | Setup time before the start, 0 to 43200. |
| breakdown_minutes | integer | No | Breakdown time after the end, 0 to 43200. |
| bump_in_minutes | integer | No | Bump-in time, 0 to 43200. |
| bump_out_minutes | integer | No | Bump-out time, 0 to 43200. |
| status | string(50) | No | New status. |
| notes | string | No | Free text. |
| force | boolean | No | Override a clash with a tentative booking. |
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}'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
}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)
| Name | Type | Required | Description |
|---|---|---|---|
| booking | integer | Yes | Booking id. |
curl -X DELETE "$BASE_URL/api/external/bookings/{booking}" \
-H "X-API-Key: $API_KEY" \
-H "X-Tenant: $TENANT" \
-H "Accept: application/json"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
}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)
| Name | Type | Required | Description |
|---|---|---|---|
| booking_ids | integer[] | Yes | 1 to 500 booking ids. |
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]}'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
}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)
| Name | Type | Required | Description |
|---|---|---|---|
| booking_ids | integer[] | Yes | 1 to 500 booking ids. |
| attributes | object | Yes | Any 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.
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"}}'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
}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)
| Name | Type | Required | Description |
|---|---|---|---|
| booking_ids | integer[] | Yes | 1 to 500 booking ids. |
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]}'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
}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)
| Name | Type | Required | Description |
|---|---|---|---|
| venue_id | integer | Yes | Venue inside the key's restriction. |
| space_id | integer | No | A space of that venue. |
| event_id | integer | No | An existing event visible to the key. |
| requested_start | ISO 8601 | Yes | Requested start. Send in UTC. |
| requested_end | ISO 8601 | Yes | Requested end, after the start. |
| timezone | string(50) | No | IANA timezone. |
| requester_name | string(255) | Yes | Who is asking. |
| requester_email | Yes | Contact email. | |
| requester_phone | string(255) | No | Contact phone. |
| requester_organisation | string(255) | No | Organisation. |
| requester_abn | string(20) | No | ABN. |
| requester_address | string(1000) | No | Address. |
| party_size | integer | No | Expected people, at least 1. |
| notes | string | No | Free text. |
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"}'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
}