---
title: "Create an appointment"
method: POST
path: "/api/appointments"
tags: ["Appointments"]
---

# Create an appointment

`POST /api/appointments`

## Request

- Base URL: `https://api.dododentist.com`
- URL: `https://api.dododentist.com/api/appointments`
- Auth: one of:
  - HTTP basic
  - API key in header `Authorization`

Requires the `appointments:write` scope. Fires the `appointment.created` webhook.

## Request body

- object
  - `clinicId` string, required
  - `patientId` string
  - `startTime` string
  - `endTime` string

## Response `200`

The created appointment

- object
  - `_id` string
  - `clinicId` string
  - `patientId` string
  - `startTime` string, date-time
  - `endTime` string, date-time
  - `status` 'REQUESTED' | 'SCHEDULED' | 'PATIENT_ARRIVED' | 'NO_SHOW' | 'CANCELED'
  - `procedures` object[]
    - `_id` string
    - `procedureId` string
    - `name` string
    - `price` union
      - number
      - string
  - `reminders` object[]
  - `lastEditTime` string, date-time

## Other responses

- `403`: API key is missing the `appointments:write` scope
- `default`: Error response

---

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