---
title: "GET /api/appointment_profiles"
method: GET
path: "/api/appointment_profiles"
tags: ["Clinical"]
---

# GET /api/appointment_profiles

`GET /api/appointment_profiles`

## Request

- Base URL: `https://app.drchrono.com`
- URL: `https://app.drchrono.com/api/appointment_profiles`
- Auth: OAuth 2
  - Authorization code: `https://app.drchrono.com/o/authorize/`
  - Token URL: `https://app.drchrono.com/o/token/` scopes: `calendar:read`, `calendar:write`, `settings:read`, `settings:write`

Retrieve or search appointment profiles for a doctor's calendar

## Query parameters

- `cursor` string: The pagination cursor value.
- `page_size` integer: Number of results to return per page.
- `doctor` integer

## Response `200`

OK

- object: Paginated Result
  - `previous` string: Previous paginated page
  - `data` AppointmentProfile[]: result data
    - `archived` boolean: Indicates that the object has been soft-deleted and should not be used
    - `name` string, required
    - `doctor` integer
    - `color` string, required
    - `reason` string
    - `sort_order` integer: Override the usual ordering ordering of appointments in the patient's appointments page. Lower values are shown at the top
    - `duration` integer: Length of an appointment in minutes
    - `id` integer
    - `online_scheduling` boolean, required: Whether this profile should be available for online scheduling
  - `next` string: Next Paginated page

## 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)
