---
title: "Create a client"
method: POST
path: "/api/clients"
tags: ["Clients"]
---

# Create a client

`POST /api/clients`

## Request

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

Creates a client. Requires the `clients:write` scope. Fires the `client.created` webhook.

## Request body

- object

## Response `200`

The created client

- object
  - `_id` string
  - `salonId` string
  - `name` string
  - `email` string, email
  - `phone` string
  - `language` string
  - `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)
