For AI agents: markdown of this page — /docs-content-en/entities/catalog-services/get.md documentation index — /llms.txt
Get a service
GET /v1/catalog-services/:id
Returns a single catalog service by identifier, together with its catalog sections and catalog properties.
The response contains more fields than the list: in addition to the reduced set, it returns the symbolic code, external code, sort order, VAT rate, texts, images, and catalog properties of the form propertyNNN.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id (path) |
number | yes | Service identifier. List: GET /v1/catalog-services |
Examples
curl — personal key
curl "https://vibecode.bitrix24.com/v1/catalog-services/7233" \
-H "X-Api-Key: YOUR_API_KEY"
curl — OAuth application
curl "https://vibecode.bitrix24.com/v1/catalog-services/7233" \
-H "X-Api-Key: YOUR_APP_KEY" \
-H "Authorization: Bearer USER_SESSION_TOKEN"
JavaScript — personal key
const res = await fetch('https://vibecode.bitrix24.com/v1/catalog-services/7233', {
headers: {
'X-Api-Key': 'YOUR_API_KEY',
},
})
const { success, data } = await res.json()
console.log('Service:', data.name, 'section:', data.iblockSectionId)
JavaScript — OAuth application
const res = await fetch('https://vibecode.bitrix24.com/v1/catalog-services/7233', {
headers: {
'X-Api-Key': 'YOUR_APP_KEY',
'Authorization': 'Bearer USER_SESSION_TOKEN',
},
})
const { success, data } = await res.json()
Response fields
| Field | Type | Description |
|---|---|---|
success |
boolean | Always true on success |
data |
object | Service object. All fields — see Service fields |
On top of the fields the list returns, a single record contains:
code— symbolic codexmlId— external code. If it was not set on creation, it contains the serviceidas a stringsort— sort ordervatId— VAT rate ID. List:GET /v1/catalog-vat-ratespreviewText,detailText,previewTextType,detailTextType— texts and their formatpreviewPicture,detailPicture— imagesiblockSection— an array of IDs of all catalog sections the service belongs to- catalog properties of the form
propertyNNN, whereNNNis the propertyidfromGET /v1/catalog-product-properties. An empty property is returned asnull, a filled string property as an object{ value, valueId }
Fields with an empty value are returned as null.
Response example
The main fields are shown.
{
"success": true,
"data": {
"id": 7233,
"iblockId": 25,
"iblockSectionId": 281,
"iblockSection": [281],
"name": "Air conditioner cleaning",
"type": 7,
"active": true,
"available": false,
"code": "cleaning",
"xmlId": "7233",
"sort": 200,
"measure": 9,
"vatId": null,
"vatIncluded": true,
"previewText": "Filter and heat exchanger cleaning",
"previewTextType": "text",
"detailText": null,
"detailTextType": "text",
"previewPicture": null,
"detailPicture": null,
"property295": "N",
"property301": null,
"createdBy": 1295,
"modifiedBy": 1295,
"dateCreate": "2026-10-08T20:51:00.000Z",
"timestampX": "2026-10-08T20:51:00.000Z"
}
}
Error response example
404 — no service with this id exists:
{
"success": false,
"error": {
"code": "ENTITY_NOT_FOUND",
"message": "service does not exist."
}
}
Errors
| HTTP | Code | Description |
|---|---|---|
| 404 | ENTITY_NOT_FOUND |
No record with the specified id exists (service does not exist.) |
| 404 | ENTITY_NOT_FOUND |
A record with the specified id exists but is not a service — for example, a regular catalog product (catalogService <id> not found) |
| 400 | INVALID_PARAMS |
id is not a non-negative integer (id must be a non-negative integer) |
| 403 | SCOPE_DENIED |
The API key lacks the catalog scope |
| 401 | MISSING_API_KEY |
The X-Api-Key header was not passed |
Full list of common API errors — Errors.
Known specifics
iblockSection is returned only in the single-record response. The array of the service's sections is present in the GET /v1/catalog-services/:id response, while the list and search reject this name in select with 400 SELECT_FIELD_NOT_RETURNED. In the list, read the main section from iblockSectionId.