HairDora Clients API
The Clients API from HairDora — 2 operation(s) for clients.
The Clients API from HairDora — 2 operation(s) for clients.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/hairdora-com:hairdora-com-clients-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: HairDora Clients API
version: 1.0.0
servers:
- url: https://api.hairdora.com
tags:
- name: Clients
paths:
/api/clients:
get:
tags:
- Clients
summary: List clients
description: Lists the clients of your organization. Requires the `clients:read` scope. Optionally filter by `salonId`, `_id`, `_ids`, `email` or `userId`, and bound the result with `limit`/`skip`.
security:
- apiKey: []
- accessToken: []
parameters:
- in: query
name: salonId
schema:
type: string
- in: query
name: email
schema:
type: string
- in: query
name: fields
description: Comma-separated projection of fields to return
schema:
type: string
- in: query
name: limit
schema:
type: integer
default: 0
- in: query
name: skip
schema:
type: integer
default: 0
responses:
'200':
description: Array of clients
content:
application/json:
schema:
type: array
items:
type: object
properties:
_id:
type: string
minLength: 1
salonId:
type: string
minLength: 1
name:
type: string
email:
type: string
format: email
phone:
type: string
language:
type: string
lastEditTime:
type: string
format: date-time
'401':
description: Missing or invalid credentials
content:
application/json:
schema:
type: object
required:
- message
properties:
message:
type: string
name:
type: string
statusCode:
type: integer
details:
type: object
additionalProperties: true
'403':
description: API key is missing the `clients:read` scope
content:
application/json:
schema:
type: object
required:
- message
properties:
message:
type: string
name:
type: string
statusCode:
type: integer
details:
type: object
additionalProperties: true
'429':
description: API key rate limit exceeded
content:
application/json:
schema:
type: object
required:
- message
properties:
message:
type: string
name:
type: string
statusCode:
type: integer
details:
type: object
additionalProperties: true
default:
description: Error response
content:
application/json:
schema:
type: object
required:
- message
properties:
message:
type: string
name:
type: string
statusCode:
type: integer
details:
type: object
additionalProperties: true
operationId: getApiClients
post:
tags:
- Clients
summary: Create a client
description: Creates a client. Requires the `clients:write` scope. Fires the `client.created` webhook.
security:
- apiKey: []
- accessToken: []
requestBody:
required: true
content:
application/json:
schema:
type: object
responses:
'200':
description: The created client
content:
application/json:
schema:
type: object
properties:
_id:
type: string
minLength: 1
salonId:
type: string
minLength: 1
name:
type: string
email:
type: string
format: email
phone:
type: string
language:
type: string
lastEditTime:
type: string
format: date-time
default:
description: Error response
content:
application/json:
schema:
type: object
required:
- message
properties:
message:
type: string
name:
type: string
statusCode:
type: integer
details:
type: object
additionalProperties: true
operationId: postApiClients
/api/clients/{clientId}:
get:
tags:
- Clients
summary: Get a client
description: Returns a single client by id. Clients belonging to another organization respond 404. Requires the `clients:read` scope.
security:
- apiKey: []
- accessToken: []
parameters:
- in: path
name: clientId
required: true
schema:
type: string
responses:
'200':
description: The client
content:
application/json:
schema:
type: object
properties:
_id:
type: string
minLength: 1
salonId:
type: string
minLength: 1
name:
type: string
email:
type: string
format: email
phone:
type: string
language:
type: string
lastEditTime:
type: string
format: date-time
'404':
description: Not found (or owned by another organization)
content:
application/json:
schema:
type: object
required:
- message
properties:
message:
type: string
name:
type: string
statusCode:
type: integer
details:
type: object
additionalProperties: true
default:
description: Error response
content:
application/json:
schema:
type: object
required:
- message
properties:
message:
type: string
name:
type: string
statusCode:
type: integer
details:
type: object
additionalProperties: true
operationId: getApiClientsClientId
put:
tags:
- Clients
summary: Update a client
description: Updates a client. Requires the `clients:write` scope. Clients owned by another organization respond 404. Fires the `client.updated` webhook.
security:
- apiKey: []
- accessToken: []
parameters:
- in: path
name: clientId
required: true
schema:
type: string
responses:
'200':
description: The updated client
content:
application/json:
schema:
type: object
properties:
_id:
type: string
minLength: 1
salonId:
type: string
minLength: 1
name:
type: string
email:
type: string
format: email
phone:
type: string
language:
type: string
lastEditTime:
type: string
format: date-time
'404':
description: Not found (or owned by another organization)
content:
application/json:
schema:
type: object
required:
- message
properties:
message:
type: string
name:
type: string
statusCode:
type: integer
details:
type: object
additionalProperties: true
default:
description: Error response
content:
application/json:
schema:
type: object
required:
- message
properties:
message:
type: string
name:
type: string
statusCode:
type: integer
details:
type: object
additionalProperties: true
operationId: putApiClientsClientId
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
_id:
type: string
minLength: 1
salonId:
type: string
minLength: 1
name:
type: string
email:
type: string
format: email
phone:
type: string
language:
type: string
lastEditTime:
type: string
format: date-time
delete:
tags:
- Clients
summary: Delete a client
description: Deletes a client by id. Requires the `clients:write` scope. Clients owned by another organization respond 404.
security:
- apiKey: []
- accessToken: []
parameters:
- in: path
name: clientId
required: true
schema:
type: string
responses:
'200':
description: The deleted client id
content:
application/json:
schema:
type: object
properties:
_id:
type: string
minLength: 1
salonId:
type: string
minLength: 1
name:
type: string
email:
type: string
format: email
phone:
type: string
language:
type: string
lastEditTime:
type: string
format: date-time
'404':
description: Not found (or owned by another organization)
content:
application/json:
schema:
type: object
required:
- message
properties:
message:
type: string
name:
type: string
statusCode:
type: integer
details:
type: object
additionalProperties: true
default:
description: Error response
content:
application/json:
schema:
type: object
required:
- message
properties:
message:
type: string
name:
type: string
statusCode:
type: integer
details:
type: object
additionalProperties: true
operationId: deleteApiClientsClientId
components:
securitySchemes:
apiKey:
type: http
scheme: basic
description: 'HTTP Basic auth carrying only the API key secret: Authorization: Basic base64(<key secret>).'
accessToken:
type: apiKey
in: header
name: Authorization
description: 'Operator session token issued by the HairDora dashboard: Authorization: Token <access token>.'