Date and time
Bookings and availability convert any UTC offset you send. Events and booking requests keep the wall-clock time you send and return it with a Z suffix, so send those in UTC (2027-04-10T09:00:00Z) and put the local zone in timezone.
Events in a window, in the v1 wire shape ({ events, meta }) for delta sync. Internal-only events are never returned. Confidential events come back masked unless the key holds events.confidential.
Required scope: events.read · Headers: X-API-Key (staging also X-Tenant)
| Name | Type | Required | Description |
|---|---|---|---|
| venue_id | integer | No | Only events at this venue (403 if outside the key's restriction). |
| event_id | integer | No | Return this one event; the date window is ignored. |
| start_date | ISO 8601 | No | Window start, compared with the event start. Default: seven days ago. |
| end_date | ISO 8601 | No | Window end, inclusive; a date-only value means midnight at the start of that day. Default: 28 days ahead. |
| changed_since | ISO 8601 | No | Only events created or updated on or after this time. |
| include_bookings | boolean | No | Embed each event's bookings (only those at the key's venues). Default true. |
| limit | integer | No | Page size. Default 100, maximum 500. |
| offset | integer | No | Rows to skip. Default 0. |
curl -X GET "$BASE_URL/api/external/events?venue_id=1&start_date=2027-03-01T00:00:00Z&end_date=2027-05-01T00:00:00Z&limit=100" \
-H "X-API-Key: $API_KEY" \
-H "X-Tenant: $TENANT" \
-H "Accept: application/json"200 An events array and paging meta. Page with offset while has_more is true.
{
"events": [
{
"id": 2,
"title": "Autumn Expo",
"description": "Trade expo",
"venue_id": 1,
"venue_name": "Harbour Arena",
"venue_ids": [
1
],
"venue_names": [
"Harbour Arena"
],
"start_datetime": "2027-04-10T09:00:00+00:00",
"end_datetime": "2027-04-10T17:00:00+00:00",
"status": "enquiry",
"event_type": "Conference",
"is_confidential": false,
"external_reference": null,
"bookings": [
{
"id": 1,
"space_id": 1,
"space_name": "Main Hall",
"space_code": null,
"event_start": "2027-04-09T23:00:00+00:00",
"event_end": "2027-04-10T07:00:00+00:00",
"setup_start": "2027-04-09T22:00:00+00:00",
"breakdown_end": "2027-04-10T07:30:00+00:00",
"status": "confirmed",
"notes": null
}
],
"created_at": "2026-11-24T07:15:21+00:00",
"updated_at": "2026-11-24T07:15:21+00:00"
}
],
"meta": {
"total": 2,
"returned": 2,
"limit": 100,
"offset": 0,
"has_more": false,
"venue_id": 1,
"venue_name": "Harbour Arena",
"date_range": {
"start": "2027-03-01T00:00:00Z",
"end": "2027-05-01T00:00:00Z"
},
"generated_at": "2026-11-24T07:15:47Z"
}
}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": {
"venue_id": [
"The selected venue id is invalid."
]
}
}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 events.",
"code": "FORBIDDEN",
"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
}One event with its venues and type. Internal-only events, and events outside the key's venues, return 404.
Required scope: events.read · Headers: X-API-Key (staging also X-Tenant)
| Name | Type | Required | Description |
|---|---|---|---|
| event | integer | Yes | Event id. |
curl -X GET "$BASE_URL/api/external/events/{event}" \
-H "X-API-Key: $API_KEY" \
-H "X-Tenant: $TENANT" \
-H "Accept: application/json"200 The event.
{
"data": {
"id": 2,
"booka_code": "BOOKA-2",
"external_event_id": null,
"event_id": null,
"title": "Autumn Expo",
"description": "Trade expo",
"venue_id": 1,
"venue_ids": [
1
],
"primary_venue_ids": [
1
],
"venues": [
{
"id": 1,
"code": "HRB",
"name": "Harbour Arena",
"timezone": "Australia/Sydney"
}
],
"type_id": 1,
"type_name": "Conference",
"type_color": "#3B82F6",
"sub_type": null,
"status": "enquiry",
"approval_status": "approved",
"pending_bookings_count": 0,
"category": "Tier 5 Event",
"class": null,
"start_datetime": "2027-04-10T09:00:00.000000Z",
"end_datetime": "2027-04-10T17:00:00.000000Z",
"timezone": "Australia/Sydney",
"client_account": "Example Pty Ltd",
"client_contact": "Alex Example",
"is_confidential": null,
"is_internal": null,
"is_public": null,
"external_codes": null,
"custom_metadata": {
"crm_ref": "ABC-123"
},
"notes": null,
"created_by": "external:1",
"updated_by": null,
"created_at": "2026-11-24T07:15:21.000000Z",
"updated_at": "2026-11-24T07:15:21.000000Z",
"deleted_at": null,
"...": "further nullable fields (gate times, attendance, ticketing, approval notes)"
}
}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 events."
}404 Not found, or outside the key's venue restriction.
{
"message": "No query results for model [App\\Models\\Event] 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
}Creates an event at one or more venues. The key is recorded as the creator (created_by is external:<key id>).
Required scope: events.write · Headers: X-API-Key (staging also X-Tenant)
| Name | Type | Required | Description |
|---|---|---|---|
| title | string(60) | Yes | Event title. |
| start_datetime | ISO 8601 | Yes | Start. Send it in UTC (see the note on date and time below). |
| end_datetime | ISO 8601 | Yes | End, after start_datetime. |
| venue_ids | integer[] | No | Venues for the event. Every id must be inside the key's venue restriction. venue_id (a single id) is also accepted; one of the two is required. |
| primary_venue_id | integer | No | Primary venue; defaults to the first venue. |
| description | string | No | Free text. |
| event_id | string(100) | No | Your own reference for the event (returned as external_event_id). |
| type_id | integer | No | An active event type id, from GET /event-types. |
| sub_type | string(255) | No | Free text sub-type. |
| status | string(50) | No | For example enquiry, confirmed or cancelled. Changing it carries onto the event's bookings. |
| category | string(100) | No | A category name, from GET /event-categories. |
| class | string(100) | No | Free text class. |
| timezone | string(50) | No | IANA timezone of the event, e.g. Australia/Sydney. |
| client_account | string(255) | No | Client organisation name. |
| client_contact | string(255) | No | Client contact name. |
| is_confidential | boolean | No | Needs the events.confidential scope. A key without it cannot mark, read in full or edit confidential events. |
| is_internal | boolean | No | Internal events are never visible through this API, including to the key that made them. |
| is_public | boolean | No | Whether the event is public. |
| external_codes | object | No | Reference codes from your system. |
| custom_metadata | object | No | Your own keys. On update the object is merged into the stored one, so omitted keys survive. |
| notes | string | No | Free text. |
curl -X POST "$BASE_URL/api/external/events" \
-H "X-API-Key: $API_KEY" \
-H "X-Tenant: $TENANT" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"title":"Autumn Expo","description":"Trade expo","venue_ids":[1],"type_id":1,"status":"enquiry","category":"Tier 5 Event","start_datetime":"2027-04-10T09:00:00Z","end_datetime":"2027-04-10T17:00:00Z","timezone":"Australia/Sydney","client_account":"Example Pty Ltd","client_contact":"Alex Example","custom_metadata":{"crm_ref":"ABC-123"}}'201 The created event.
{
"data": {
"id": 2,
"booka_code": "BOOKA-2",
"external_event_id": null,
"event_id": null,
"title": "Autumn Expo",
"description": "Trade expo",
"venue_id": 1,
"venue_ids": [
1
],
"primary_venue_ids": [
1
],
"venues": [
{
"id": 1,
"code": "HRB",
"name": "Harbour Arena",
"timezone": "Australia/Sydney"
}
],
"type_id": 1,
"type_name": "Conference",
"type_color": "#3B82F6",
"sub_type": null,
"status": "enquiry",
"approval_status": "approved",
"pending_bookings_count": 0,
"category": "Tier 5 Event",
"class": null,
"start_datetime": "2027-04-10T09:00:00.000000Z",
"end_datetime": "2027-04-10T17:00:00.000000Z",
"timezone": "Australia/Sydney",
"client_account": "Example Pty Ltd",
"client_contact": "Alex Example",
"is_confidential": null,
"is_internal": null,
"is_public": null,
"external_codes": null,
"custom_metadata": {
"crm_ref": "ABC-123"
},
"notes": null,
"created_by": "external:1",
"updated_by": null,
"created_at": "2026-11-24T07:15:21.000000Z",
"updated_at": "2026-11-24T07:15:21.000000Z",
"deleted_at": null,
"...": "further nullable fields (gate times, attendance, ticketing, approval notes)"
}
}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 events."
}422 Validation failed. errors maps each field to its messages.
{
"message": "The given data was invalid.",
"errors": {
"title": [
"The title field is required."
],
"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
}Partial update: send only the fields to change. Venues cannot be changed here. A status or time change carries onto the event's bookings and is refused with 409 if it would reach a booking the key may not modify.
Required scope: events.write · Headers: X-API-Key (staging also X-Tenant)
| Name | Type | Required | Description |
|---|---|---|---|
| event | integer | Yes | Event id. |
| Name | Type | Required | Description |
|---|---|---|---|
| title | string(60) | No | Event title. |
| description | string | No | Free text. |
| event_id | string(100) | No | Your own reference for the event (returned as external_event_id). |
| type_id | integer | No | An active event type id, from GET /event-types. |
| sub_type | string(255) | No | Free text sub-type. |
| status | string(50) | No | For example enquiry, confirmed or cancelled. Changing it carries onto the event's bookings. |
| category | string(100) | No | A category name, from GET /event-categories. |
| class | string(100) | No | Free text class. |
| timezone | string(50) | No | IANA timezone of the event, e.g. Australia/Sydney. |
| client_account | string(255) | No | Client organisation name. |
| client_contact | string(255) | No | Client contact name. |
| is_confidential | boolean | No | Needs the events.confidential scope. A key without it cannot mark, read in full or edit confidential events. |
| is_internal | boolean | No | Internal events are never visible through this API, including to the key that made them. |
| is_public | boolean | No | Whether the event is public. |
| external_codes | object | No | Reference codes from your system. |
| custom_metadata | object | No | Your own keys. On update the object is merged into the stored one, so omitted keys survive. |
| notes | string | No | Free text. |
curl -X PUT "$BASE_URL/api/external/events/{event}" \
-H "X-API-Key: $API_KEY" \
-H "X-Tenant: $TENANT" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"status":"confirmed","title":"Autumn Expo 2027"}'200 The updated event.
{
"data": {
"id": 2,
"booka_code": "BOOKA-2",
"external_event_id": null,
"event_id": null,
"title": "Autumn Expo 2027",
"description": "Trade expo",
"venue_id": 1,
"venue_ids": [
1
],
"primary_venue_ids": [
1
],
"venues": [
{
"id": 1,
"code": "HRB",
"name": "Harbour Arena",
"timezone": "Australia/Sydney"
}
],
"type_id": 1,
"type_name": "Conference",
"type_color": "#3B82F6",
"sub_type": null,
"status": "enquiry",
"approval_status": "approved",
"pending_bookings_count": 0,
"category": "Tier 5 Event",
"class": null,
"start_datetime": "2027-04-10T09:00:00.000000Z",
"end_datetime": "2027-04-10T17:00:00.000000Z",
"timezone": "Australia/Sydney",
"client_account": "Example Pty Ltd",
"client_contact": "Alex Example",
"is_confidential": null,
"is_internal": null,
"is_public": null,
"external_codes": null,
"custom_metadata": {
"crm_ref": "ABC-123"
},
"notes": null,
"created_by": "external:1",
"updated_by": null,
"created_at": "2026-11-24T07:15:21.000000Z",
"updated_at": "2026-11-24T07:15:21.000000Z",
"deleted_at": null,
"...": "further nullable fields (gate times, attendance, ticketing, approval notes)"
}
}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 modify confidential events."
}404 Not found, or outside the key's venue restriction.
{
"message": "No query results for model [App\\Models\\Event] 9999"
}409 The change would affect bookings this key cannot modify.
{
"message": "This change would carry onto bookings this API key cannot modify (another venue, another client or created in Booka); remove them first."
}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
}Deletes the event and its bookings. Refused with 409, and nothing deleted, if a booking belongs to another venue, another client or was created in Booka.
Required scope: events.delete · Headers: X-API-Key (staging also X-Tenant)
| Name | Type | Required | Description |
|---|---|---|---|
| event | integer | Yes | Event id. |
curl -X DELETE "$BASE_URL/api/external/events/{event}" \
-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 is not permitted to delete events."
}404 Not found, or outside the key's venue restriction.
{
"message": "No query results for model [App\\Models\\Event] 9999"
}409 A booking on the event cannot be deleted by this key.
{
"message": "This event has bookings this API key cannot modify (another venue, another client or created in Booka); remove them first."
}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
}