The usual path from an enquiry to a confirmed booking. Every call needs your API key; the scope each call needs is listed on its page.
| Step | Call | What to do |
|---|---|---|
| 1. Find the venue and space | GET /venues, GET /spaces | Pick a venue id and a space that is bookable and active. |
| 2. Look up reference data | GET /event-types, GET /event-categories | Choose the type_id and category for the event. |
| 3. Check availability | GET /availability | Ask for the window you want. A space with status available has no clash. |
| 4. Create the event | POST /events | Create the event with venue_ids, times (UTC) and your reference in event_id. |
| 5. Book the space | POST /bookings | Send event_id, space_id, times and status hold or confirmed. |
| 6. Handle a clash | 409 on POST /bookings, 422 on PUT | details.overridable false: pick another time or space. true: the clash is a tentative booking, resend with force to override. |
| 7. Change or release it | PUT /bookings/{id}, DELETE /bookings/{id} | Update times, space or status, or cancel. Only bookings your client created can be changed. |
| 8. No direct booking | POST /booking-requests | Submit a waitlist request when you cannot book directly. A venue manager approves it. |
# 3. Is the hall free on 10 April?
curl "$BASE_URL/api/external/availability?venue_id=1&from=2027-04-09T00:00:00Z&to=2027-04-11T00:00:00Z" \
-H "X-API-Key: $API_KEY" -H "X-Tenant: $TENANT"
# 4. Create the event
curl -X POST "$BASE_URL/api/external/events" \
-H "X-API-Key: $API_KEY" -H "X-Tenant: $TENANT" -H "Content-Type: application/json" \
-d '{"title":"Autumn Expo","venue_ids":[1],"status":"enquiry","start_datetime":"2027-04-10T09:00:00Z","end_datetime":"2027-04-10T17:00:00Z","timezone":"Australia/Sydney"}'
# 5. Book the hall for it (event id 2 from step 4)
curl -X POST "$BASE_URL/api/external/bookings" \
-H "X-API-Key: $API_KEY" -H "X-Tenant: $TENANT" -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","status":"hold"}'
# Confirm the hold
curl -X PUT "$BASE_URL/api/external/bookings/1" \
-H "X-API-Key: $API_KEY" -H "X-Tenant: $TENANT" -H "Content-Type: application/json" \
-d '{"status":"confirmed"}'Shortcut
POST /bookings accepts a v1 body with space_ids and no event_id: it creates the event and books every listed space in one call, and refuses everything if any space clashes. See Bookings.