[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-userfields\u002Ftasks\u002Ftypes":3,"docs-tabs-userfields\u002Ftasks\u002Ftypes":6},{"content":4,"lastmod":5},"## Field types\n\n`GET \u002Fv1\u002Fuserfields\u002Ftasks\u002Ftypes`\n\nReturns the catalog of user field types that you can specify when creating a task field.\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fuserfields\u002Ftasks\u002Ftypes\" \\\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\u002Ftypes\" \\\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\u002Ftypes', {\n  headers: { 'X-Api-Key': 'YOUR_API_KEY' },\n})\nconst { success, data } = await res.json()\nconsole.log(data.map((type) => type.userTypeId))\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fuserfields\u002Ftasks\u002Ftypes', {\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` | array | Array of field types |\n| `data[].userTypeId` | string | Type identifier — the `userTypeId` value for [`POST \u002Fv1\u002Fuserfields\u002Ftasks`](\u002Fdocs\u002Fuserfields\u002Ftasks\u002Fcreate) |\n| `data[].title` | string | Display name of the type |\n\n## Response example\n\n```json\n{\n  \"success\": true,\n  \"data\": [\n    {\n      \"userTypeId\": \"string\",\n      \"title\": \"String\"\n    },\n    {\n      \"userTypeId\": \"integer\",\n      \"title\": \"Integer\"\n    },\n    {\n      \"userTypeId\": \"double\",\n      \"title\": \"Number\"\n    },\n    {\n      \"userTypeId\": \"boolean\",\n      \"title\": \"Yes\u002FNo\"\n    },\n    {\n      \"userTypeId\": \"enumeration\",\n      \"title\": \"List\"\n    },\n    {\n      \"userTypeId\": \"datetime\",\n      \"title\": \"Date\u002FTime\"\n    },\n    {\n      \"userTypeId\": \"date\",\n      \"title\": \"Date\"\n    },\n    {\n      \"userTypeId\": \"money\",\n      \"title\": \"Money\"\n    },\n    {\n      \"userTypeId\": \"url\",\n      \"title\": \"Link\"\n    },\n    {\n      \"userTypeId\": \"address\",\n      \"title\": \"Google Map address\"\n    },\n    {\n      \"userTypeId\": \"file\",\n      \"title\": \"File\"\n    },\n    {\n      \"userTypeId\": \"employee\",\n      \"title\": \"Link to a user\"\n    },\n    {\n      \"userTypeId\": \"crm_status\",\n      \"title\": \"Link to CRM directories\"\n    },\n    {\n      \"userTypeId\": \"iblock_section\",\n      \"title\": \"Link to information block sections\"\n    },\n    {\n      \"userTypeId\": \"iblock_element\",\n      \"title\": \"Link to information block elements\"\n    },\n    {\n      \"userTypeId\": \"crm\",\n      \"title\": \"Link to CRM items\"\n    }\n  ]\n}\n```\n\n## Error response example\n\n401 — the `X-Api-Key` header was not passed:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"MISSING_API_KEY\",\n    \"message\": \"API key required. Pass via X-Api-Key header.\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|-----|---------|\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**System field types are not in the catalog.** The system fields `UF_TASK_WEBDAV_FILES` and `UF_MAIL_MESSAGE` have the types `disk_file` and `mail_message` — they appear in the [field list](\u002Fdocs\u002Fuserfields\u002Ftasks\u002Flist), but not in the catalog.\n\n## See also\n\n- [Create field](\u002Fdocs\u002Fuserfields\u002Ftasks\u002Fcreate)\n- [List fields](\u002Fdocs\u002Fuserfields\u002Ftasks\u002Flist)\n- [Task fields](\u002Fdocs\u002Fuserfields\u002Ftasks)\n- [User fields](\u002Fdocs\u002Fuserfields)\n","2026-10-15",{},1795415519827]