HairDora Appointments API
The Appointments API from HairDora — 2 operation(s) for appointments.
The Appointments API from HairDora — 2 operation(s) for appointments.
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-appointments-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 Appointments API
version: 1.0.0
servers:
- url: https://api.hairdora.com
tags:
- name: Appointments
paths:
/api/appointments:
get:
tags:
- Appointments
summary: List appointments
description: Lists the appointments of your organization. Requires the `appointments:read` scope. Optionally filter by `salonId`, `clientId` and a `startTime`/`endTime` window.
security:
- apiKey: []
- accessToken: []
parameters:
- in: query
name: salonId
schema:
type: string
- in: query
name: clientId
schema:
type: string
- in: query
name: startTime
schema:
type: string
- in: query
name: endTime
schema:
type: string
- in: query
name: limit
schema:
type: integer
default: 0
- in: query
name: skip
schema:
type: integer
default: 0
- in: query
name: sortField
schema:
type: string
example: startTime
- in: query
name: sortDirection
schema:
type: string
enum:
- ASC
- DESC
- in: query
name: fields
description: Comma-separated projection of fields to return
schema:
type: string
responses:
'200':
description: Array of appointments
content:
application/json:
schema:
type: array
items:
type: object
properties:
_id:
type: string
minLength: 1
salonId:
type: string
minLength: 1
clientId:
type: string
minLength: 1
startTime:
type: string
format: date-time
endTime:
type: string
format: date-time
status:
type: string
services:
type: array
items:
type: object
reminders:
type: array
items:
type: object
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 `appointments: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: getApiAppointments
post:
tags:
- Appointments
summary: Create an appointment
description: Creates an appointment. Requires the `appointments:write` scope. Fires the `appointment.created` webhook.
security:
- apiKey: []
- accessToken: []
requestBody:
required: true
content:
application/json:
schema:
type: object
responses:
'200':
description: The created appointment
content:
application/json:
schema:
type: object
properties:
_id:
type: string
minLength: 1
salonId:
type: string
minLength: 1
clientId:
type: string
minLength: 1
startTime:
type: string
format: date-time
endTime:
type: string
format: date-time
status:
type: string
services:
type: array
items:
type: object
reminders:
type: array
items:
type: object
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: postApiAppointments
/api/appointments/{appointmentId}:
get:
tags:
- Appointments
summary: Get an appointment
description: Returns a single appointment by id. Appointments belonging to another organization respond 404. Requires the `appointments:read` scope.
security:
- apiKey: []
- accessToken: []
parameters:
- in: path
name: appointmentId
required: true
schema:
type: string
responses:
'200':
description: The appointment
content:
application/json:
schema:
type: object
properties:
_id:
type: string
minLength: 1
salonId:
type: string
minLength: 1
clientId:
type: string
minLength: 1
startTime:
type: string
format: date-time
endTime:
type: string
format: date-time
status:
type: string
services:
type: array
items:
type: object
reminders:
type: array
items:
type: object
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: getApiAppointmentsAppointmentId
put:
tags:
- Appointments
summary: Update an appointment
description: Updates an appointment. Requires the `appointments:write` scope. Appointments owned by another organization respond 404. Fires the `appointment.updated` webhook.
security:
- apiKey: []
- accessToken: []
parameters:
- in: path
name: appointmentId
required: true
schema:
type: string
responses:
'200':
description: The updated appointment
content:
application/json:
schema:
type: object
properties:
_id:
type: string
minLength: 1
salonId:
type: string
minLength: 1
clientId:
type: string
minLength: 1
startTime:
type: string
format: date-time
endTime:
type: string
format: date-time
status:
type: string
services:
type: array
items:
type: object
reminders:
type: array
items:
type: object
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: putApiAppointmentsAppointmentId
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
_id:
type: string
minLength: 1
salonId:
type: string
minLength: 1
clientId:
type: string
minLength: 1
startTime:
type: string
format: date-time
endTime:
type: string
format: date-time
status:
type: string
services:
type: array
items:
type: object
reminders:
type: array
items:
type: object
lastEditTime:
type: string
format: date-time
delete:
tags:
- Appointments
summary: Delete an appointment
description: Deletes an appointment by id. Requires the `appointments:write` scope. Appointments owned by another organization respond 404. Fires the `appointment.deleted` webhook.
security:
- apiKey: []
- accessToken: []
parameters:
- in: path
name: appointmentId
required: true
schema:
type: string
responses:
'200':
description: The deleted appointment id
content:
application/json:
schema:
type: object
properties:
_id:
type: string
minLength: 1
salonId:
type: string
minLength: 1
clientId:
type: string
minLength: 1
startTime:
type: string
format: date-time
endTime:
type: string
format: date-time
status:
type: string
services:
type: array
items:
type: object
reminders:
type: array
items:
type: object
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: deleteApiAppointmentsAppointmentId
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>.'