Free and busy blocks for every bookable, active space in a venue (or one space) over a window of up to 90 days.
Required scope: availability.read · Headers: X-API-Key (staging also X-Tenant)
| Name | Type | Required | Description |
|---|---|---|---|
| venue_id | integer | Yes | Venue to check. Required unless space_id is given. |
| space_id | integer | No | Check a single space. Required unless venue_id is given; it must belong to the venue. |
| from | ISO 8601 | Yes | Window start. start_datetime is accepted as an alias. |
| to | ISO 8601 | Yes | Window end, after from and at most 90 days later. end_datetime is accepted as an alias. |
Each space lists busy blocks (with the buffered occupied_start/occupied_end window) and the free gaps. status is available, tentative or confirmed, and conflicts lists the bookings behind it.
Event titles and booking notes are returned as null for confidential events unless the key holds events.confidential.
curl -X GET "$BASE_URL/api/external/availability?venue_id=1&from=2027-04-10T00:00:00Z&to=2027-04-11T00:00:00Z" \
-H "X-API-Key: $API_KEY" \
-H "X-Tenant: $TENANT" \
-H "Accept: application/json"200 Free/busy per space.
{
"data": {
"from": "2027-04-10T00:00:00.000Z",
"to": "2027-04-11T00:00:00.000Z",
"spaces": [
{
"space_id": 1,
"name": "Main Hall",
"busy": [
{
"start": "2027-04-09T21:30:00.000Z",
"end": "2027-04-10T07:30:00.000Z",
"status": "confirmed",
"occupied_start": "2027-04-09T21:30:00.000Z",
"occupied_end": "2027-04-10T07:30:00.000Z",
"booking_ids": [
1
],
"events": [
{
"id": 2,
"title": null
}
]
}
],
"free": [
{
"start": "2027-04-10T07:30:00.000Z",
"end": "2027-04-11T00:00:00.000Z"
}
],
"space_name": "Main Hall",
"status": "confirmed",
"conflicts": [
{
"booking_id": 1,
"start_datetime": "2027-04-09T23:00:00+00:00",
"end_datetime": "2027-04-10T07:00:00+00:00",
"status": "confirmed",
"description": "Main hall for expo"
}
]
},
{
"space_id": 2,
"name": "Meeting Room 1",
"busy": [],
"free": [
{
"start": "2027-04-10T00:00:00.000Z",
"end": "2027-04-11T00:00:00.000Z"
}
],
"space_name": "Meeting Room 1",
"status": "available"
}
],
"venue_id": 1,
"venue_name": "Harbour Arena",
"query_start": "2027-04-10T00:00:00Z",
"query_end": "2027-04-11T00:00:00Z",
"timestamp": "2026-11-24T07:15:40Z"
},
"meta": {
"timestamp": "2026-11-24T07:15:40Z"
}
}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": {
"from": [
"The from field is required."
],
"to": [
"The to field is required."
]
}
}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 availability.",
"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
}