[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-entities\u002Fstorages\u002Ftypes":3,"docs-tabs-entities\u002Fstorages\u002Ftypes":6},{"content":4,"lastmod":5},"## Storage types\n\n`GET \u002Fv1\u002Fstorages\u002Ftypes`\n\nCalls `disk.storage.getTypes`. Requires the `disk` scope. READONLY keys are allowed.\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl -X GET 'https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fstorages\u002Ftypes' \\\n  -H 'X-Api-Key: YOUR_API_KEY'\n```\n\n### curl — OAuth application\n\n```bash\ncurl -X GET 'https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fstorages\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 response = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fstorages\u002Ftypes', {\n  method: 'GET',\n  headers: {\"X-Api-Key\": \"YOUR_API_KEY\"},\n})\nconst result = await response.json()\nconsole.log(result)\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst response = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fstorages\u002Ftypes', {\n  method: 'GET',\n  headers: {\"X-Api-Key\": \"YOUR_APP_KEY\", \"Authorization\": \"Bearer USER_SESSION_TOKEN\"},\n})\nconst result = await response.json()\nconsole.log(result)\n```\n\n## Response fields\n\n| Field | Type | Description |\n|---|---|---|\n| `success` | boolean | Whether the request succeeded |\n| `data.items` | string[] | Storage types returned by Bitrix24 |\n\n`data.items` contains the strings returned by Bitrix24, without platform additions. `user` is a personal drive, `common` the shared drive, and `group` a workgroup drive. Use these values in the `entityType` filter of [GET \u002Fv1\u002Fstorages](\u002Fdocs\u002Fentities\u002Fstorages\u002Flist).\n\nThe list is hardcoded in Bitrix24 and incomplete: storage listings may contain other types, for example, application storages. Do not treat this list as an exhaustive enum.\n\n## Response example\n\n```json\n{\"success\":true,\"data\":{\"items\":[\"user\",\"common\",\"group\"]}}\n```\n\n## Error response example\n\n403 — the key lacks the `disk` scope:\n\n```json\n{\"success\":false,\"error\":{\"code\":\"SCOPE_DENIED\",\"message\":\"API key requires \\\"disk\\\" scope.\"}}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|---|---|---|\n| 403 | `SCOPE_DENIED` | Missing disk scope or Bitrix24 denied access |\n| 403 | `BITRIX_ACCESS_DENIED` | Missing disk scope or Bitrix24 denied access |\n| 422 | `BITRIX_ERROR` | Bitrix24 business refusal or no list returned |\n| 422 | `OPERATION_FAILED` | Bitrix24 business refusal or no list returned |\n\nCommon refusals: [Errors](\u002Fdocs\u002Ferrors).\n\n## See also\n\n- [list](\u002Fdocs\u002Fentities\u002Fstorages\u002Flist)\n- [folders](\u002Fdocs\u002Fentities\u002Fstorages\u002Ffolders)\n","2026-10-23",{},1795415308451]