For AI agents: markdown of this page — /docs-content-en/entities/requisite-presets/list.md documentation index — /llms.txt
List requisite presets
GET /v1/requisite-presets
Returns a list of requisite presets with support for filtering, sorting, and auto-pagination. Used to retrieve the available field-set presets before creating a requisite.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
limit |
number | 50 |
Number of records (up to 5000). When limit > 50, Vibecode automatically requests multiple pages from Bitrix24 |
offset |
number | 0 |
Skip N records. When offset > 0, limit ≤ 500 is recommended |
select |
string | — | Field selection: ?select=id,name,active |
order |
object | — | Sorting: ?order[sort]=asc or ?order[id]=desc |
filter |
object | — | Filtering by GET /v1/requisite-presets/fields fields.Filtering syntax. Example: ?filter[active]=true&filter[countryId]=1 |
Pagination
When limit > 50, Vibecode automatically paginates the request server-side. The maximum is 5000 records per call. If more records match the filter, meta.hasMore returns true.
Examples
curl — personal key
curl "https://vibecode.bitrix24.com/v1/requisite-presets" \
-H "X-Api-Key: YOUR_API_KEY"
curl — OAuth app
curl "https://vibecode.bitrix24.com/v1/requisite-presets" \
-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/requisite-presets', {
headers: {
'X-Api-Key': 'YOUR_API_KEY',
},
})
const { success, data, meta } = await res.json()
console.log(`Found ${meta.total} presets`)
JavaScript — OAuth app
const res = await fetch('https://vibecode.bitrix24.com/v1/requisite-presets', {
headers: {
'X-Api-Key': 'YOUR_APP_KEY',
'Authorization': 'Bearer USER_SESSION_TOKEN',
},
})
const { success, data, meta } = await res.json()
Response fields
| Field | Type | Description |
|---|---|---|
success |
boolean | Always true on success |
data |
array | Array of presets (all fields — see Requisite preset fields) |
meta.total |
number | Total number of records matching the filter |
meta.hasMore |
boolean | Whether there are more records beyond limit |
Response example
{
"success": true,
"data": [
{
"id": 1,
"entityTypeId": 8,
"countryId": 1,
"name": "Organization",
"createdAt": "2020-04-20T10:47:23.000Z",
"updatedAt": "2021-08-13T14:34:26.000Z",
"createdBy": 0,
"modifyBy": 1,
"active": true,
"sort": 510,
"xmlId": "#CRM_REQUISITE_PRESET_DEF_RU_COMPANY#"
},
{
"id": 3,
"entityTypeId": 8,
"countryId": 1,
"name": "Sole proprietor",
"createdAt": "2020-04-20T10:47:23.000Z",
"updatedAt": "2021-07-20T14:39:09.000Z",
"createdBy": 0,
"modifyBy": 1,
"active": false,
"sort": 520,
"xmlId": "#CRM_REQUISITE_PRESET_DEF_RU_INDIVIDUAL#"
},
{
"id": 5,
"entityTypeId": 8,
"countryId": 1,
"name": "Individual",
"createdAt": "2020-04-20T10:47:23.000Z",
"updatedAt": "2021-08-13T14:34:34.000Z",
"createdBy": 0,
"modifyBy": null,
"active": true,
"sort": 530,
"xmlId": "#CRM_REQUISITE_PRESET_DEF_RU_PERSON#"
}
],
"meta": {
"total": 14,
"hasMore": true
}
}
Error response example
403 — no scope:
{
"success": false,
"error": {
"code": "SCOPE_DENIED",
"message": "This endpoint requires 'crm' scope"
}
}
Errors
| HTTP | Code | Description |
|---|---|---|
| 403 | SCOPE_DENIED |
API key lacks the crm scope |
| 401 | TOKEN_MISSING |
API key has no configured tokens |
| 400 | INVALID_FILTER |
Filter syntax error |
Full list of common API errors — Errors.
Known specifics
The entityTypeId field is always 8. All presets belong to the "requisite" entity type — entityTypeId: 8. The value does not change and is not passed in the filter as a distinguishing attribute.
The countryId field. Russian presets have countryId: 1. On a Bitrix24 account with regional presets (Kazakhstan, Ukraine, Poland, etc.) the list will include presets with other values.
Inactive presets are included in the list. A preset with active: false is returned in the list by default. To retrieve only active presets, pass filter[active]=true.