This API allows you to create a custom availability for a team member.
{your-workspace} with your workspace’s subdomain. X-Api-Key is used to authenticate requests using an API key. Provide your API key in this header to access protected endpoints. Refer to Authentication for more information.
Email of the team member for whom the availability should be created.
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": [
{
"wday": "friday",
"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"
OK - Availability created successfully