---
title: "Update On Call Hours"
method: PUT
path: "/settings/on-call-hours"
tags: ["Settings"]
---

# Update On Call Hours

`PUT /settings/on-call-hours`

## Request

- Base URL: `https://api.openintake.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openintake.ai/settings/on-call-hours`
- Auth: none declared

Replace the full set of per-weekday on-call windows.

An empty list means on-call 24/7. end_time <= start_time means the window
crosses midnight into the next day.

## Request body

- UpdateOnCallHoursRequest: Full replacement set of per-weekday on-call windows
  - `hours` OnCallHoursEntry[], required: Full replacement set of weekday windows; an empty list means on-call 24/7
    - `weekday` integer, required: Weekday, 0=Monday .. 6=Sunday
    - `enabled` boolean: Whether there is an on-call window on this weekday
    - `start_time` string, time, required: Window start (firm timezone)
    - `end_time` string, time, required: Window end; end <= start means the window crosses midnight into the next day

## Response `200`

Successful Response

- OnCallHoursResponse: On-call hours settings response model
  - `hours` OnCallHoursEntry[], required: Per-weekday on-call windows ordered by weekday; empty list means on-call 24/7
    - `weekday` integer, required: Weekday, 0=Monday .. 6=Sunday
    - `enabled` boolean: Whether there is an on-call window on this weekday
    - `start_time` string, time, required: Window start (firm timezone)
    - `end_time` string, time, required: Window end; end <= start means the window crosses midnight into the next day

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-07** `5e9781b57ad0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openintake/apis/openintake-api/changes/settings/on-call-hours/put.md)

---

[API](https://skmtc.dev/openintake/apis/openintake-api.md) - [All operations](https://skmtc.dev/openintake/apis/openintake-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openintake/apis/openintake-api/revisions/de90a8dcbc07?raw)
