Update availability
Update an availability. Supports overriding specific dates to add, change, or block hours.
{your-subdomain} with your workspace’s subdomain. Learn how to find your subdomain in Workspace subdomain.
Headers
Use the X-Api-Key header to provide your workspace API key. Refer to Authentication for more information.
Path Parameters
Id of the availability can be retrieved by going to the particular availability page, and copying it from the URL.
Body
[
{
"wday": "monday",
"start_time": "09:00 AM",
"end_time": "05:00 PM"
},
{
"wday": "tuesday",
"start_time": "11:00 AM",
"end_time": "04:00 PM"
}
]Set an override for specific days. To set a date as unavailable, pass a blank array to the periods property. You can remove existing overrides by omitting the periods property.
[
{
"date": "2025-03-07",
"periods": [
{
"start_time": "11:00 AM",
"end_time": "04:00 PM"
}
]
}
]Optional IANA timezone name (e.g., "America/New_York", "Asia/Kolkata"). When provided, the start_time and end_time values in periods and overrides are assumed to be in this timezone and will be converted to the user's timezone before saving. If not provided, times are assumed to be in the user's timezone.
"America/New_York"