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

# Create an appointment

`POST /api/appointments`

## Request

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

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

## Request body

- object

## Response `200`

The created appointment

- object
  - `_id` string
  - `salonId` string
  - `clientId` string
  - `startTime` string, date-time
  - `endTime` string, date-time
  - `status` string
  - `services` object[]
  - `reminders` object[]
  - `lastEditTime` string, date-time

## Other responses

- `default`: Error response

---

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