Skip to content

Get Availability

This endpoint retrieves a list of days and their availability.

This endpoint requires authentication. You must include a valid API key in the request header. Permission(s) Required: IMPERSONATE_PORTAL_USER
You must also include these headers to identify the registered user making the request:

X-IMPERSONATED-USER-FIRST-NAME: <first-name>
X-IMPERSONATED-USER-LAST-NAME: <last-name>
X-IMPERSONATED-USER-EMAIL: <email>
{
"startTimestamp": timestamp
}

startTimestamp Optional Unix Epoch format (millis). This is the start time for the range to filter days by.

[
{
"timestamp": timestamp,
"isBlocked": boolean,
"alreadyHasTools": string[]
},
{...}
]

timestamp Unix Epoch format (millis). This is the start of the day.

isBlocked If this specific day has been manually disabled by an admin.

alreadyHasTools Array of tools that are already booked for this day.