---
title: "Create availability"
method: POST
path: "/users/{user_id}/availabilities"
tags: ["availabilities"]
---

# Create availability

`POST /users/{user_id}/availabilities`

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.

## Path parameters

- `user_id` integer, required

## Request body

- AvailabilityCreateRequest
  - `starts_at` string, date, nullable — The effective start date for the availability block. Null implies the past.
  - `ends_at` string, date, nullable — The effective end date for the availability block. Null implies the future.
  - `day0` number, required — Available hours on Sunday.
  - `day1` number, required — Available hours on Monday.
  - `day2` number, required — Available hours on Tuesday.
  - `day3` number, required — Available hours on Wednesday.
  - `day4` number, required — Available hours on Thursday.
  - `day5` number, required — Available hours on Friday.
  - `day6` number, required — Available hours on Saturday.

## Response `201`

The availability block was created successfully.

- Availability
  - `id` integer, required — The unique identifier for the availability block.
  - `user_id` integer, required — The ID of the user this availability block belongs to.
  - `day0` number, required — Available hours on Sunday.
  - `day1` number, required — Available hours on Monday.
  - `day2` number, required — Available hours on Tuesday.
  - `day3` number, required — Available hours on Wednesday.
  - `day4` number, required — Available hours on Thursday.
  - `day5` number, required — Available hours on Friday.
  - `day6` number, required — Available hours on Saturday.
  - `starts_at` string, date, nullable, required — The effective start date for the availability block. Null implies the past.
  - `ends_at` string, date, nullable, required — The effective end date for the availability block. Null implies the future.
  - `created_at` string, date-time — The time of creation.
  - `updated_at` string, date-time — The time of the last update.

## Other responses

- `404` — The user ID was not found.

---

[API](https://skmtc.net/smartsheet/apis/resource-management-openapi-reference.md) · [All operations](https://skmtc.net/smartsheet/apis/resource-management-openapi-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smartsheet/resource-management-openapi-reference/versions/e4c439ac13f2/schema)
