v1
latestSwagger 2.02026-08-06115129197.7 KBList blockages
Returns blockages (time-off / unavailability windows) overlapping the requested date range. Filter by location and/or employee using either MyTime ids or partner/external ids. Recurring blockages are expanded to the individual occurrences that fall within the window.
Query parameters
Filter by the location MyTime id. Provide this or location_external_id.
Filter by the location partner/external id. A supplied value that does not resolve returns 404.
Filter by the employee MyTime id. Provide this or employee_external_id.
Filter by the employee partner/external id. A supplied value that does not resolve returns 404.
ISO8601 start of the date range to list blockages for, e.g. 2026-07-01.
ISO8601 end of the date range to list blockages for, e.g. 2026-07-31.
Headers
Merchant subdomain - Optional
Response
Blockages response
Example response
{
"blockages": [
{
"schedule": {
"frequency_interval": 1,
"interval_datatype": "weeks",
"end_date": "2026-12-31"
}
}
]
}