Create availability
Create an availability for a team member.
{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.
Body
Email of the team member for whom the availability should be created.
"oliver@example.com"
Name for the custom availability.
"Custom Work Hours"
[
{
"wday": "monday",
"start_time": "09:00 AM",
"end_time": "05:00 PM"
},
{
"wday": "wednesday",
"start_time": "10:00 AM",
"end_time": "06: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"
Response
Created - Availability created successfully