The Booka external API lets an integration read venues, spaces, events and availability and create events and bookings. It is a JSON API under /api/external, authenticated by an API key. Booka staff issue keys from the admin console; a key is shown once, so store it safely.
| Environment | Base URL | Tenant |
|---|---|---|
| Staging | https://api-staging-booka.shakewell.net | Send the X-Tenant header (e.g. vnsw) |
| Production | https://api-booka.venuesnsw.com (live after the 26 Nov 2026 cutover) | From the host name. Do not send X-Tenant |
List the venues your key can see. On production leave out the X-Tenant line.
export BASE_URL="https://api-staging-booka.shakewell.net"
export TENANT="vnsw"
export API_KEY="<your key>"
curl "$BASE_URL/api/external/venues" \
-H "X-API-Key: $API_KEY" \
-H "X-Tenant: $TENANT" \
-H "Accept: application/json"| Name | Type | Required | Description |
|---|---|---|---|
| X-API-Key | string | Yes | Your API key, sent on every request. |
| X-Tenant | string | No | Staging only: the tenant slug. Ignored on production. |
| Accept | application/json | Yes | Always ask for JSON. |
| Content-Type | application/json | No | On requests with a body. |
Lists come back as { "data": [...] } and single resources as { "data": {...} }. Events and the BMS feed use their own envelopes, shown on each page.
| Status | Meaning |
|---|---|
| 200 / 201 | Success / created. |
| 400 | Validation failed on a v1-compatible route (GET /events, GET /availability, POST /bookings, GET /bookings/{id}, /bms/*). The error envelope has error, message, code, timestamp and details. |
| 401 | Missing, unknown, inactive or expired API key. |
| 403 | The key lacks the scope, the venue is outside its restriction, or it may not modify that booking or event. |
| 404 | Not found, or outside the key's venue restriction. |
| 409 | A booking clashes (v1-compatible routes), or an event change would affect bookings the key may not modify. |
| 422 | Validation failed, or a booking clashes (other routes). errors lists each field. |
| 429 | Rate limit exceeded. The body carries retry_after in seconds. |
Rate limit
Each key has its own per-minute limit (60 by default). Back off for the retry_after seconds returned with a 429.
Read Authentication for scopes and venue restrictions, the Booking Workflow Guide for an end-to-end flow, and download the Postman Collection to try every call.