HairDora Clients API

The Clients API from HairDora — 2 operation(s) for clients.

GitHub OpenAPI

Operations 5

GET /api/clients List clients #
POST /api/clients Create a client #
GET /api/clients/{clientId} Get a client #
PUT /api/clients/{clientId} Update a client #
DELETE /api/clients/{clientId} Delete a client #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/hairdora-com:hairdora-com-clients-api"
All apis
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.

Get an API 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 Specification

hairdora-com-clients-api-openapi.yml Raw ↑
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>.'