Get Availability
GET /api/portal/calendar
Section titled “ /api/portal/calendar”This endpoint retrieves a list of days and their availability.
Security
Section titled “Security”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>
Request Body
Section titled “Request Body”{ "startTimestamp": timestamp}
startTimestamp Optional
Unix Epoch format (millis). This is the start time for the range to filter days by.
Response Body
Section titled “Response Body”[ { "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.