---
title: "GET /api/office_work_schedule"
method: GET
path: "/api/office_work_schedule"
tags: ["Practice Management"]
---

# GET /api/office_work_schedule

`GET /api/office_work_schedule`

## Request

- Base URL: `https://app.drchrono.com`
- URL: `https://app.drchrono.com/api/office_work_schedule`
- Auth: OAuth 2
  - Authorization code: `https://app.drchrono.com/o/authorize/`
  - Token URL: `https://app.drchrono.com/o/token/`

Get the work schedule for the authed doctor's primary office (beta)

## Response `200`

OK

- WorkSchedule
  - `work_days` WorkDay[]: work days of the work schedule
    - `iso_weekday` string: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
    - `enabled` boolean: whether the work day is enabled
    - `id` integer: unique ID of the work day
    - `work_hours` WorkHours[]: work hours of the work day
      - `start_time` string: start time of the work hour
      - `enabled` boolean: whether the work hour is enabled
      - `id` integer: unique ID of the work hour
      - `end_time` string: end time of the work hour
  - `id` integer: unique ID for the work schedule
  - `office` integer: ID of office for work schedule
  - `doctor` integer: ID of doctor for work schedule

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Permission Denied
- `404`: Not Found
- `405`: Method Not Allowed
- `500`: Internal Server Error

---

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