Skip to main content
GET

Get a service

Scope:sales:services.read
https://api.holded.com/api/v2/services/{serviceId}

Retrieves the full details of a single service by its unique identifier. The response includes pricing, tax configuration, sales channel assignment, and duration.

Parameters

Path parameters

serviceIdstringrequired

Service ID (24-char hex ObjectId)

Request

python
import requests

url = "https://api.holded.com/api/v2/services/{serviceId}"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

response = requests.get(url, headers=headers)
print(response.json())

Responses

Response

json
{
  "id": "507f1f77bcf86cd799439011",
  "name": "Consulting",
  "code": "SRV-001",
  "description": "Consulting service",
  "price": "100.00",
  "cost": "50.00",
  "tags": [
    "string"
  ],
  "taxes": [
    "string"
  ],
  "sales_channel_id": "string",
  "color": "string",
  "duration": "string",
  "archived": false
}

Success responses

200Service foundapplication/json
object
idstring

Unique identifier of the service

namestring

Name of the service

codestring

Internal reference code for the service

descriptionstring

Description of the service

pricestring

Sale price as a decimal string

coststring

Cost price as a decimal string

tags[]string[]

List of tags attached to the service

taxes[]string[]

List of tax identifiers applied to the service

sales_channel_idstring | null

Identifier of the sales channel assigned to this service

colorstring | null

Hex color code used in the UI

durationstring | null

Duration in minutes as a decimal string

archivedboolean

Whether the service is archived

Error responses

401Invalid or missing API keyapplication/json
403Insufficient permissionsapplication/json
404Service not foundapplication/json
429Rate limit exceededapplication/json