HairDora Services API

The Services API from HairDora — 2 operation(s) for services.

GitHub OpenAPI

Operations 5

GET /api/services List services #
POST /api/services Create a service #
GET /api/services/{serviceId} Get a service #
PUT /api/services/{serviceId} Update a service #
DELETE /api/services/{serviceId} Delete a service #

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-services-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-services-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: HairDora Services API
  version: 1.0.0
servers:
- url: https://api.hairdora.com
tags:
- name: Services
paths:
  /api/services:
    get:
      tags:
      - Services
      summary: List services
      description: Lists the services of your organization. Requires the `services:read` scope. Optionally filter by `salonId`.
      security:
      - apiKey: []
      - accessToken: []
      parameters:
      - in: query
        name: salonId
        schema:
          type: string
      - in: query
        name: fields
        description: Comma-separated projection of fields to return
        schema:
          type: string
      responses:
        '200':
          description: Array of services
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    _id:
                      type: string
                      minLength: 1
                    salonId:
                      type: string
                      minLength: 1
                    name:
                      type: string
                    price:
                      oneOf:
                      - type: number
                      - type: string
                    duration:
                      type: integer
                      minimum: 0
                    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 `services: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: getApiServices
    post:
      tags:
      - Services
      summary: Create a service
      description: Creates a service. Requires the `services:write` scope. Fires the `service.created` webhook.
      security:
      - apiKey: []
      - accessToken: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: The created service
          content:
            application/json:
              schema:
                type: object
                properties:
                  _id:
                    type: string
                    minLength: 1
                  salonId:
                    type: string
                    minLength: 1
                  name:
                    type: string
                  price:
                    oneOf:
                    - type: number
                    - type: string
                  duration:
                    type: integer
                    minimum: 0
                  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: postApiServices
  /api/services/{serviceId}:
    get:
      tags:
      - Services
      summary: Get a service
      description: Returns a single service by id. Services belonging to another organization respond 404. Requires the `services:read` scope.
      security:
      - apiKey: []
      - accessToken: []
      parameters:
      - in: path
        name: serviceId
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The service
          content:
            application/json:
              schema:
                type: object
                properties:
                  _id:
                    type: string
                    minLength: 1
                  salonId:
                    type: string
                    minLength: 1
                  name:
                    type: string
                  price:
                    oneOf:
                    - type: number
                    - type: string
                  duration:
                    type: integer
                    minimum: 0
                  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: getApiServicesServiceId
    put:
      tags:
      - Services
      summary: Update a service
      description: Updates a service. Requires the `services:write` scope. Services owned by another organization respond 404. Fires the `service.updated` webhook.
      security:
      - apiKey: []
      - accessToken: []
      parameters:
      - in: path
        name: serviceId
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The updated service
          content:
            application/json:
              schema:
                type: object
                properties:
                  _id:
                    type: string
                    minLength: 1
                  salonId:
                    type: string
                    minLength: 1
                  name:
                    type: string
                  price:
                    oneOf:
                    - type: number
                    - type: string
                  duration:
                    type: integer
                    minimum: 0
                  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: putApiServicesServiceId
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                _id:
                  type: string
                  minLength: 1
                salonId:
                  type: string
                  minLength: 1
                name:
                  type: string
                price:
                  oneOf:
                  - type: number
                  - type: string
                duration:
                  type: integer
                  minimum: 0
                lastEditTime:
                  type: string
                  format: date-time
    delete:
      tags:
      - Services
      summary: Delete a service
      description: Deletes a service by id. Requires the `services:write` scope. Services owned by another organization respond 404.
      security:
      - apiKey: []
      - accessToken: []
      parameters:
      - in: path
        name: serviceId
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The deleted service id
          content:
            application/json:
              schema:
                type: object
                properties:
                  _id:
                    type: string
                    minLength: 1
                  salonId:
                    type: string
                    minLength: 1
                  name:
                    type: string
                  price:
                    oneOf:
                    - type: number
                    - type: string
                  duration:
                    type: integer
                    minimum: 0
                  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: deleteApiServicesServiceId
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>.'