---
title: "Get user quiet hours schedule"
method: GET
path: "/api/v2/users/{user}/quiet-hours"
tags: ["Enterprise"]
---

# Get user quiet hours schedule

`GET /api/v2/users/{user}/quiet-hours`

## Path parameters

- `user` string, uuid, required

## Response `200`

OK

- CodersdkUserQuietHoursScheduleResponse[]
  - `next` string, date-time — Next is the next time that the quiet hours window will start.
  - `raw_schedule` string
  - `time` string — Time is the time of day that the quiet hours window starts in the given Timezone each day.
  - `timezone` string — raw format from the cron expression, UTC if unspecified
  - `user_can_set` boolean — UserCanSet is true if the user is allowed to set their own quiet hours schedule. If false, the user cannot set a custom schedule and the default schedule will always be used.
  - `user_set` boolean — UserSet is true if the user has set their own quiet hours schedule. If false, the user is using the default schedule.

---

[API](https://skmtc.net/coder/apis/coder-api.md) · [All operations](https://skmtc.net/coder/apis/coder-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coder/coder-api/versions/56b6e9f08540/schema)
