[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-userfields\u002Ftasks\u002Fget":3,"docs-tabs-userfields\u002Ftasks\u002Fget":6},{"content":4,"lastmod":5},"## Get field\n\n`GET \u002Fv1\u002Fuserfields\u002Ftasks\u002F:id`\n\nReturns one task user field by ID: its type, settings, labels in all languages and list options.\n\n## Parameters\n\n| Parameter | Type | Required | Description |\n|----------|-----|:-----:|---------|\n| `:id` (path) | number | yes | Numeric field ID from the [`GET \u002Fv1\u002Fuserfields\u002Ftasks`](\u002Fdocs\u002Fuserfields\u002Ftasks\u002Flist) or [`POST \u002Fv1\u002Fuserfields\u002Ftasks`](\u002Fdocs\u002Fuserfields\u002Ftasks\u002Fcreate) response. A positive integer |\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fuserfields\u002Ftasks\u002F6007967\" \\\n  -H \"X-Api-Key: YOUR_API_KEY\"\n```\n\n### curl — OAuth application\n\n```bash\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fuserfields\u002Ftasks\u002F6007967\" \\\n  -H \"X-Api-Key: YOUR_APP_KEY\" \\\n  -H \"Authorization: Bearer USER_SESSION_TOKEN\"\n```\n\n### JavaScript — personal key\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fuserfields\u002Ftasks\u002F6007967', {\n  headers: { 'X-Api-Key': 'YOUR_API_KEY' },\n})\nconst { success, data } = await res.json()\nconsole.log(data.fieldName, data.items?.map((item) => item.value))\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fuserfields\u002Ftasks\u002F6007967', {\n  headers: {\n    'X-Api-Key': 'YOUR_APP_KEY',\n    'Authorization': 'Bearer USER_SESSION_TOKEN',\n  },\n})\nconst { success, data } = await res.json()\n```\n\n## Response fields\n\n| Field | Type | Description |\n|------|-----|---------|\n| `success` | boolean | Always `true` on success |\n| `data` | object | Field object |\n| `data.id` | number | Numeric field ID |\n| `data.entityId` | string | Entity the field belongs to — always `TASKS_TASK` |\n| `data.fieldName` | string | System field name in the `UF_*` format |\n| `data.userTypeId` | string | Field type. Values — [Field types](\u002Fdocs\u002Fuserfields\u002Ftasks\u002Ftypes) |\n| `data.xmlId` | string\\|null | External field ID. Cannot be set through the API |\n| `data.sort` | string | Field order — a number as a string |\n| `data.multiple` | string | Multiple values in one task: `\"Y\"` or `\"N\"` |\n| `data.mandatory` | string | Required field: `\"Y\"` or `\"N\"` |\n| `data.showFilter` | string | Show in the filter. For fields created through the API — `\"N\"` |\n| `data.showInList` | string | Show in the list. For fields created through the API — `\"Y\"` |\n| `data.editInList` | string | Allow editing from the list. For fields created through the API — `\"Y\"` |\n| `data.isSearchable` | string | Included in search. For fields created through the API — `\"N\"` |\n| `data.settings` | object | Field settings; the set of keys depends on `userTypeId`. For `enumeration` — `DISPLAY`, `LIST_HEIGHT`, `CAPTION_NO_VALUE`, `SHOW_NO_VALUE`. For `string` — `SIZE`, `ROWS`, `REGEXP`, `MIN_LENGTH`, `MAX_LENGTH`, `DEFAULT_VALUE` |\n| `data.editFormLabel` | object | Label in the task form per language: the key is a language code, the value is a string |\n| `data.listColumnLabel` | object | Column label in the task list per language |\n| `data.listFilterLabel` | object | Label in the filter per language |\n| `data.errorMessage` | object | Validation error message per language. For a field created through the API — the field name; for system fields the values are `null` |\n| `data.helpMessage` | object | Hint per language. For a field created through the API — the field name; for system fields the values are `null` |\n| `data.system` | boolean | `true` for the system fields `UF_CRM_TASK`, `UF_TASK_WEBDAV_FILES`, `UF_MAIL_MESSAGE` |\n| `data.items` | array | Options of an `enumeration` field. Absent for other types |\n| `data.items[].id` | number | Option ID. Pass it in `items[].id` when [updating the field](\u002Fdocs\u002Fuserfields\u002Ftasks\u002Fupdate) and as the field value in a task |\n| `data.items[].value` | string | Option name |\n| `data.items[].sort` | string | Option order — a number as a string |\n| `data.items[].def` | string | Default option: `\"Y\"` or `\"N\"` |\n| `data.items[].xmlId` | string | External option ID. Generated automatically if it was not passed at creation |\n\n## Response example\n\nThe labels in the example are trimmed to two languages — `en` and `ru`. The response has more keys: one per language.\n\n```json\n{\n  \"success\": true,\n  \"data\": {\n    \"id\": 6007967,\n    \"entityId\": \"TASKS_TASK\",\n    \"fieldName\": \"UF_REVIEW_STAGE\",\n    \"userTypeId\": \"enumeration\",\n    \"xmlId\": null,\n    \"sort\": \"500\",\n    \"multiple\": \"N\",\n    \"mandatory\": \"Y\",\n    \"showFilter\": \"N\",\n    \"showInList\": \"Y\",\n    \"editInList\": \"Y\",\n    \"isSearchable\": \"N\",\n    \"settings\": {\n      \"DISPLAY\": \"LIST\",\n      \"LIST_HEIGHT\": 1,\n      \"CAPTION_NO_VALUE\": \"\",\n      \"SHOW_NO_VALUE\": \"Y\"\n    },\n    \"editFormLabel\": {\n      \"en\": \"Review stage\",\n      \"ru\": \"Review stage\"\n    },\n    \"listColumnLabel\": {\n      \"en\": \"Review stage\",\n      \"ru\": \"Review stage\"\n    },\n    \"listFilterLabel\": {\n      \"en\": \"Review stage\",\n      \"ru\": \"Review stage\"\n    },\n    \"errorMessage\": {\n      \"en\": \"UF_REVIEW_STAGE\",\n      \"ru\": \"UF_REVIEW_STAGE\"\n    },\n    \"helpMessage\": {\n      \"en\": \"UF_REVIEW_STAGE\",\n      \"ru\": \"UF_REVIEW_STAGE\"\n    },\n    \"system\": false,\n    \"items\": [\n      {\n        \"id\": 4045,\n        \"value\": \"New\",\n        \"sort\": \"10\",\n        \"def\": \"Y\",\n        \"xmlId\": \"new\"\n      },\n      {\n        \"id\": 4047,\n        \"value\": \"Under review\",\n        \"sort\": \"20\",\n        \"def\": \"N\",\n        \"xmlId\": \"review\"\n      },\n      {\n        \"id\": 4049,\n        \"value\": \"Accepted\",\n        \"sort\": \"30\",\n        \"def\": \"N\",\n        \"xmlId\": \"accepted\"\n      }\n    ]\n  }\n}\n```\n\n## Error response example\n\n404 — no field with this `id`:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"ENTITY_NOT_FOUND\",\n    \"message\": \"Task custom field not found\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|-----|---------|\n| 400 | `INVALID_ID` | `:id` is not a positive integer — the request is rejected before it reaches Bitrix24 |\n| 404 | `ENTITY_NOT_FOUND` | No field with this `id` exists, or it belongs to another entity, such as an employee |\n| 403 | `TASK_CUSTOM_FIELDS_UNAVAILABLE` | The portal plan does not include task user fields |\n| 403 | `SCOPE_DENIED` | The API key does not have the `task` scope |\n| 401 | `TOKEN_MISSING` | The key has no Bitrix24 tokens. For an application key, the `Authorization: Bearer USER_SESSION_TOKEN` header was not passed |\n| 401 | `MISSING_API_KEY` | The `X-Api-Key` header is missing |\n\nFull list of common API errors — [Errors](\u002Fdocs\u002Ferrors).\n\n## Known specifics\n\n**Labels come as an object keyed by language.** Reading a single field returns labels in all languages at once, while the [field list](\u002Fdocs\u002Fuserfields\u002Ftasks\u002Flist) returns each label as a string in the one language set by the `lang` parameter.\n\n**The field value is stored in the task.** In [`GET \u002Fv1\u002Ftasks\u002F:id`](\u002Fdocs\u002Fentities\u002Ftasks\u002Fget) the field arrives under its camelCase name: `UF_REVIEW_STAGE` as `ufReviewStage`. The value is passed under the same name in the body of [`POST \u002Fv1\u002Ftasks`](\u002Fdocs\u002Fentities\u002Ftasks\u002Fcreate). For an `enumeration` field the value is the `id` of an option from `items`.\n\n## See also\n\n- [List fields](\u002Fdocs\u002Fuserfields\u002Ftasks\u002Flist)\n- [Update field](\u002Fdocs\u002Fuserfields\u002Ftasks\u002Fupdate)\n- [Delete field](\u002Fdocs\u002Fuserfields\u002Ftasks\u002Fdelete)\n- [Task fields](\u002Fdocs\u002Fuserfields\u002Ftasks)\n- [Tasks](\u002Fdocs\u002Fentities\u002Ftasks)\n- [User fields](\u002Fdocs\u002Fuserfields)\n","2026-10-15",{},1795415519496]