v1
latestOpenAPI 3.0.32026-08-0613775357.6 KBavailabilities
Create availability
Creates a new availability time block for a user.
Note: In the current version of the API, updating part-time availabilities will NOT automatically update existing assignments and their suggested time entries to match.
post/users/{user_id}/availabilities
Path parameters
user_idinteger required
The ID of the user.
Request body
Example request
{
"starts_at": "2026-01-30",
"ends_at": "2026-07-28",
"day1": 8,
"day2": 8,
"day3": 4,
"day4": 8,
"day5": 8
}Response
The availability block was created successfully.
Example response
{
"id": 52,
"user_id": 269,
"day1": 8,
"day2": 8,
"day3": 4,
"day4": 8,
"day5": 8,
"starts_at": "2017-01-30",
"ends_at": "2017-07-28",
"created_at": "2024-08-27T12:00:00Z",
"updated_at": "2024-08-27T12:00:00Z"
}