[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-userfields\u002Ftypes":3,"docs-tabs-userfields\u002Ftypes":6},{"content":4,"lastmod":5},"## Module custom-field types\n\n`GET \u002Fv1\u002Fuserfields\u002Ftypes?moduleId=crm`\n\nReturns only userTypeId and description. Internal PHP keys are removed. The key must hold the scope named by moduleId. For smart processes use crm. The main module returns No settings for UserFieldAccess. Employee field types are not available here.\n\n## Parameters\n\n| Parameter | Type | Required | Description |\n|---|---|---|---|\n| `moduleId` (query) | string | yes | Module identifier, e.g. crm. The key must hold that scope. |\n\n## Examples\n\n### curl — personal key\n\n```bash\n\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fuserfields\u002Ftypes?moduleId=crm\" \\\n  -H \"X-Api-Key: YOUR_API_KEY\"\n\n```\n\n### curl — OAuth application\n\n```bash\n\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fuserfields\u002Ftypes?moduleId=crm\" \\\n  -H \"X-Api-Key: YOUR_APP_KEY\" \\\n  -H \"Authorization: Bearer USER_SESSION_TOKEN\"\n\n```\n\n### JavaScript — personal key\n\n```javascript\n\nconst response = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fuserfields\u002Ftypes?moduleId=crm', {\n  headers: { 'X-Api-Key': 'YOUR_API_KEY' },\n})\nconst result = await response.json()\nif (!response.ok) throw new Error(result.error.message)\nconsole.log(result.data)\n\n```\n\n### JavaScript — OAuth application\n\n```javascript\n\nconst response = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fuserfields\u002Ftypes?moduleId=crm', {\n  headers: { 'X-Api-Key': 'YOUR_APP_KEY', Authorization: 'Bearer USER_SESSION_TOKEN' },\n})\nconst result = await response.json()\nif (!response.ok) throw new Error(result.error.message)\nconsole.log(result.data)\n\n```\n\n## Response fields\n\n| Field | Type | Description |\n|---|---|---|\n| `success` | boolean | `true` |\n| `data` | array | Available field types. |\n| `data[].userTypeId` | string | Type identifier for field creation. |\n| `data[].description` | string | Description in the Bitrix24 account language. |\n\n## Response example\n\n```json\n{\n  \"success\": true,\n  \"data\": [\n    {\n      \"userTypeId\": \"crm\",\n      \"description\": \"Bind To CRM items\"\n    },\n    {\n      \"userTypeId\": \"string\",\n      \"description\": \"String\"\n    },\n    {\n      \"userTypeId\": \"enumeration\",\n      \"description\": \"List\"\n    }\n  ]\n}\n```\n\n## Error response example\n\n422 — the main module has no type settings:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"BITRIX_ERROR\",\n    \"message\": \"No settings for UserFieldAccess\",\n    \"b24Code\": \"0\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Condition |\n|---|---|---|\n| 400 | `INVALID_PARAMS` | Missing or malformed moduleId. |\n| 401 | `MISSING_API_KEY` | Missing key. |\n| 403 | `SCOPE_DENIED` | The key lacks the requested module scope. |\n| 403 | `BITRIX_ACCESS_DENIED` | Bitrix24 refuses access. |\n| 422 | `BITRIX_ERROR` | No module type settings or another business refusal. |\n\n[ All errors ](\u002Fdocs\u002Ferrors)\n\n## See also\n\n- [CRM entity fields](\u002Fdocs\u002Fuserfields\u002Fcrm)\n\n- [Smart process fields](\u002Fdocs\u002Fuserfields\u002Fsmart-processes)\n\n- [Employee fields](\u002Fdocs\u002Fuserfields\u002Fusers)\n","2026-10-23",{},1795415520101]