For AI agents: markdown of this page — /docs-content-en/entities/requisites/get.md documentation index — /llms.txt
Get requisite
GET /v1/requisites/:id
Returns a requisite by ID with all fields available in its preset — the preset defines the field set: company name, tax identifiers, director, accountant and so on.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
Parameterid (path) |
Typenumber | Requiredyes | DescriptionRequisite ID |
Parameterinclude (query) |
Typestring | Requiredno | DescriptionRelated data: preset. See the "Related data" section below |
Examples
curl — personal key
curl "https://vibecode.bitrix24.com/v1/requisites/42" \
-H "X-Api-Key: YOUR_API_KEY"
curl — OAuth application
curl "https://vibecode.bitrix24.com/v1/requisites/42" \
-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/requisites/42', {
headers: {
'X-Api-Key': 'YOUR_API_KEY',
},
})
const { success, data } = await res.json()
console.log('Requisite:', data.rqName, '— company', data.rqCompanyName)
JavaScript — OAuth application
const res = await fetch('https://vibecode.bitrix24.com/v1/requisites/42', {
headers: {
'X-Api-Key': 'YOUR_APP_KEY',
'Authorization': 'Bearer USER_SESSION_TOKEN',
},
})
const { success, data } = await res.json()
Response fields
| Field | Type | Description |
|---|---|---|
Fieldsuccess |
Typeboolean | DescriptionAlways true on success |
Fielddata |
Typeobject | DescriptionRequisite object |
Fielddata.id |
Typenumber | DescriptionRequisite identifier |
Fielddata.entityTypeId |
Typenumber | DescriptionParent entity type: 3 — contact, 4 — company |
Fielddata.entityId |
Typenumber | DescriptionParent entity ID |
Fielddata.presetId |
Typenumber | DescriptionID of the requisite preset |
Fielddata.name |
Typestring | DescriptionRequisite name in the interface |
Fielddata.active |
Typeboolean | DescriptionWhether the requisite is active |
Fielddata.sort |
Typenumber | DescriptionSort order |
Fielddata.createdAt / data.updatedAt |
Typedatetime | DescriptionCreation and modification dates (ISO 8601) |
Fielddata.createdBy / data.modifyBy |
Typenumber | null | DescriptionCreator / last editor ID |
Fielddata.rqName / data.rqInn / data.rqKpp / data.rqOgrn |
Typestring | null | DescriptionCore legal-entity requisites |
Preset fields that are not filled in are returned as null. Full list of fields — Requisite fields.
Related data
To retrieve a related record together with the requisite, use the include query parameter:
GET /v1/requisites/1?include=preset
Available include: preset — the requisite preset that defines the field set. The result is in the _included field:
{
"success": true,
"data": {
"id": 1,
"presetId": 1,
"_included": {
"preset": {
"id": 1,
"entityTypeId": 8,
"countryId": 122,
"name": "Company",
"xmlId": "#CRM_REQUISITE_PRESET_DEF_RU_COMPANY#",
"active": true,
"sort": 510
}
}
}
}
More on includes: Related data.
Response example
{
"success": true,
"data": {
"id": 42,
"entityTypeId": 4,
"entityId": 15,
"presetId": 1,
"name": "Primary requisite",
"active": true,
"sort": 500,
"code": null,
"xmlId": null,
"addressOnly": false,
"createdAt": "2025-01-15T09:30:00+00:00",
"updatedAt": "2026-03-20T14:00:00+00:00",
"createdBy": 1,
"modifyBy": 1,
"rqName": "Acme LLC",
"rqInn": null,
"rqKpp": null,
"rqOgrn": null,
"rqOkpo": null,
"rqOkved": null,
"rqOktmo": null,
"rqVatPayer": false,
"rqCompanyName": "Acme",
"rqCompanyFullName": "Acme Limited Liability Company",
"rqDirector": "John Smith",
"rqAccountant": "Anna Brown",
"rqCeoName": null,
"rqCeoWorkPos": null,
"rqContact": null,
"rqEmail": null,
"rqPhone": null,
"rqBaseDoc": "Charter"
}
}
Error response example
404 — requisite not found:
{
"success": false,
"error": {
"code": "ENTITY_NOT_FOUND",
"message": "The Requisite with ID '999999999' is not found"
}
}
Errors
| HTTP | Code | Description |
|---|---|---|
| HTTP404 | CodeENTITY_NOT_FOUND |
DescriptionNo requisite found with this ID |
| HTTP400 | CodeINVALID_INCLUDE |
Descriptioninclude carries a name the requisite does not have. The message lists the available ones |
| HTTP403 | CodeBITRIX_ACCESS_DENIED |
DescriptionNo access to the parent entity (contact/company) |
| HTTP403 | CodeSCOPE_DENIED |
DescriptionAPI key does not have the crm scope |
| HTTP401 | CodeTOKEN_MISSING |
DescriptionAPI key has no configured tokens |
Full list of common API errors — Errors.
Known specifics
The field set depends on the preset. A requisite stores only the fields defined in its preset (presetId). Which presets exist, and which fields each one carries, depends on the country of the Bitrix24 account: a Company preset carries company details such as rqCompanyName, rqCompanyFullName and rqVatId, while a Person preset carries personal name fields. Fields the preset does not define come back as null. Check the preset's field list for the exact set.
Custom fields — in the original case. Vibecode schema fields are returned in camelCase, while custom UF_CRM_* fields are returned in the original Bitrix24 case.