Availability BETA
Required plan: EmergingDescription #
How to use Bookable Events with Availability queries.
URL format #
{data_center_url}/v1/availability
Example Request #
POST /v1/availability HTTP/1.1
Host: {data_center_url}
Authorization: Bearer {API_KEY}
Content-Type: application/json; charset=utf-8
{
"bookable_events": [
{
"bookable_event_id": "83hi8qhfiaif"
},
{
"bookable_event_id": "jeafugi83gf"
}
]
}
Example Response #
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"available_bookable_events": [
{
"bookable_event_id": "83hi8qhfiaif",
"start": "2024-12-06T09:00:00Z",
"end": "2024-12-06T10:00:00Z",
"registration": {
"capacity": 5,
"registered_count": 3
}
},
{
"bookable_event_id": "jeafugi83gf",
"start": "2024-12-07T11:00:00Z",
"end": "2024-12-07T12:00:00Z",
"registration": {
"capacity": 5,
"registered_count": 1
}
}
]
}