/v1/availability
GET
/v1/availability
const url = 'http://localhost:8787/v1/availability?resource_id=2489E9AD-2EE2-8E00-8EC9-32D5F69181C0&from=2026-04-15T12%3A00%3A00Z&to=2026-04-15T12%3A00%3A00Z&party_size=1';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://localhost:8787/v1/availability?resource_id=2489E9AD-2EE2-8E00-8EC9-32D5F69181C0&from=2026-04-15T12%3A00%3A00Z&to=2026-04-15T12%3A00%3A00Z&party_size=1' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”resource_id
required
string format: uuid
from
required
string format: date-time
to
required
string format: date-time
party_size
required
integer
Responses
Section titled “Responses”Net availability for the requested resource + window.
Media typeapplication/json
object
available
required
boolean
from
required
string
partySize
required
integer
reasons
required
Array<string>
resourceId
required
string format: uuid
to
required
string
Example
{ "reasons": [ "occupancy_exceeded" ]}from is not strictly before to.
Media typeapplication/problem+json
object
code
required
string
detail
required
string
status
required
number
title
required
string
type
required
string
Example
{ "code": "resource_not_found"}No such resource for this tenant.
Media typeapplication/problem+json
object
code
required
string
detail
required
string
status
required
number
title
required
string
type
required
string
Example
{ "code": "resource_not_found"}