For AI agents: markdown of this page — /docs-content-en/userfields/smart-processes/list.md documentation index — /llms.txt
List smart process fields
GET /v1/items/:entityTypeId/userfields
Returns the list of a smart process's user fields. Supports filtering by field type and by name.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
Parameter:entityTypeId (path) |
Typenumber | Requiredyes | DescriptionSmart process type identifier. Source: GET /v1/smart-processes — the entityTypeId field on each element of the data array |
ParameteruserTypeId (query) |
Typestring | Requiredno | DescriptionFilter by field type. List of allowed values — GET /v1/items/:entityTypeId/userfields/types. Example: ?userTypeId=string |
ParameterfieldName (query) |
Typestring | Requiredno | DescriptionFilter by the system field name. Example: ?fieldName=UF_CRM_3_1628508847 |
The result is ordered by the sort field ascending. A sort parameter is not accepted.
Examples
curl — personal key
curl "https://vibecode.bitrix24.com/v1/items/174/userfields?userTypeId=string" \
-H "X-Api-Key: YOUR_API_KEY"
curl — OAuth application
curl "https://vibecode.bitrix24.com/v1/items/174/userfields?userTypeId=string" \
-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/items/174/userfields?userTypeId=string',
{
headers: { 'X-Api-Key': 'YOUR_API_KEY' },
}
)
const { success, data, meta } = await res.json()
console.log(`Fields of type string: ${meta.total}`)
JavaScript — OAuth application
const res = await fetch(
'https://vibecode.bitrix24.com/v1/items/174/userfields?userTypeId=string',
{
headers: {
'X-Api-Key': 'YOUR_APP_KEY',
'Authorization': 'Bearer USER_SESSION_TOKEN',
},
}
)
const { success, data, meta } = await res.json()
Response fields
| Field | Type | Description |
|---|---|---|
Fieldsuccess |
Typeboolean | DescriptionAlways true on success |
Fielddata |
Typearray | DescriptionArray of smart process fields. All element fields — see Get field |
Fieldmeta.total |
Typenumber | DescriptionTotal number of fields matching the filter |
Response example
{
"success": true,
"data": [
{
"id": 3349,
"entityId": "CRM_3",
"fieldName": "UF_CRM_3_1628508847",
"userTypeId": "crm",
"xmlId": null,
"sort": "100",
"multiple": "Y",
"mandatory": "N",
"showFilter": "E",
"showInList": "Y",
"editInList": "Y",
"isSearchable": "Y",
"settings": {
"DEAL": "Y"
}
},
{
"id": 3351,
"entityId": "CRM_3",
"fieldName": "UF_CRM_3_1628508893",
"userTypeId": "string",
"xmlId": null,
"sort": "100",
"multiple": "N",
"mandatory": "N",
"showFilter": "E",
"showInList": "Y",
"editInList": "Y",
"isSearchable": "Y",
"settings": {
"SIZE": 20,
"ROWS": 1,
"REGEXP": "",
"MIN_LENGTH": 0,
"MAX_LENGTH": 0,
"DEFAULT_VALUE": ""
}
}
],
"meta": {
"total": 7
}
}
The list returns base fields. Language labels (editFormLabel, etc.) and enum options come only in GET /v1/items/:entityTypeId/userfields/:id.
Error response example
403 — the key has no userfieldconfig scope:
{
"success": false,
"error": {
"code": "BITRIX_ACCESS_DENIED",
"message": "The request requires higher privileges than provided by the webhook token"
}
}
Errors
| HTTP | Code | Description |
|---|---|---|
| HTTP400 | CodeINVALID_ENTITY_TYPE_ID |
Description:entityTypeId is not a positive integer |
| HTTP403 | CodeBITRIX_ACCESS_DENIED |
DescriptionThe key has no userfieldconfig scope — reissue the key with this scope |
| HTTP403 | CodeSCOPE_DENIED |
DescriptionThe API key has no crm scope |
| HTTP404 | CodeSMART_PROCESS_NOT_FOUND |
DescriptionA smart process with the given entityTypeId was not found on the portal |
| HTTP401 | CodeMISSING_API_KEY |
DescriptionThe X-Api-Key header is missing |
| HTTP401 | CodeTOKEN_MISSING |
DescriptionThe API key has no configured tokens |
Full list of common API errors — Errors.
Known specifics
No pagination. The endpoint returns all of the smart process's fields without splitting into pages. meta.total reflects the final number of fields in the response.