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

# POST /api/appointment_profiles

`POST /api/appointment_profiles`

Create appointment profiles for a doctor's calendar

## Query parameters

- `doctor` integer

## Response `201`

Created

- AppointmentProfile — Appointment profiles are for common kinds of appointments a doctor might have, such as "physical exam", which have a standard duration and should show up as the same color on the calendar.
  - `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

## Other responses

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

---

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