---
title: "Get a service"
method: GET
path: "/api/services/{serviceId}"
tags: ["Services"]
---

# Get a service

`GET /api/services/{serviceId}`

## Request

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

Returns a single service by id. Services belonging to another organization respond 404. Requires the `services:read` scope.

## Path parameters

- `serviceId` string, required

## Response `200`

The service

- object
  - `_id` string
  - `salonId` string
  - `name` string
  - `price` union
    - number
    - string
  - `duration` integer
  - `lastEditTime` string, date-time

## Other responses

- `404`: Not found (or owned by another organization)
- `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)
