[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-entities\u002Fbooking-resource-types\u002Flist":3,"docs-tabs-entities\u002Fbooking-resource-types\u002Flist":6},{"content":4,"lastmod":5},"# List: Booking resource types\n\n`GET \u002Fv1\u002Fbooking-resource-types`\n\nReturns all booking resource types of the Bitrix24 account in one response, with filtering by code or name, and sorting.\n\n## Parameters\n\n| Parameter | Type | Required | Default | Description |\n|----------|-----|:-----:|-----------|----------|\n| `filter` (query) | string | no | — | JSON filter object. Fields: `code` — a string or an array of strings, `name` — exact name, `searchQuery` — part of the name. Example: `?filter={\"code\":[\"equipment\",\"expert\"]}` |\n| `order` (query) | string | no | `{\"id\":\"ASC\"}` | JSON object for sorting by `id`, `name` or `code`, with values `ASC` or `DESC`. Example: `?order={\"name\":\"DESC\"}` |\n\n**Pagination.** There is no pagination: the list returns all matching types in one response, up to 500. The `limit` and `offset` parameters are not accepted — a request with them is rejected with `400 INVALID_PARAMS`. Pass `filter` and `order` URL-encoded, as in the examples.\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl -G \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fbooking-resource-types\" \\\n  -H \"X-Api-Key: YOUR_API_KEY\" \\\n  --data-urlencode 'filter={\"code\":[\"equipment\",\"expert\"]}'\n```\n\n### curl — OAuth application\n\n```bash\ncurl -G \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fbooking-resource-types\" \\\n  -H \"X-Api-Key: YOUR_APP_KEY\" \\\n  -H \"Authorization: Bearer USER_SESSION_TOKEN\" \\\n  --data-urlencode 'filter={\"code\":[\"equipment\",\"expert\"]}'\n```\n\n### JavaScript — personal key\n\n```javascript\nconst params = new URLSearchParams({\n  filter: JSON.stringify({ code: ['equipment', 'expert'] }),\n})\n\nconst res = await fetch(`https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fbooking-resource-types?${params}`, {\n  headers: { 'X-Api-Key': 'YOUR_API_KEY' },\n})\n\nconst { data, meta } = await res.json()\nconsole.log(meta.total, data.map((type) => type.code))\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst params = new URLSearchParams({\n  filter: JSON.stringify({ code: ['equipment', 'expert'] }),\n})\n\nconst res = await fetch(`https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fbooking-resource-types?${params}`, {\n  headers: {\n    'X-Api-Key': 'YOUR_APP_KEY',\n    'Authorization': 'Bearer USER_SESSION_TOKEN',\n  },\n})\n\nconst { data, meta } = await res.json()\nconsole.log(meta.total, data.map((type) => type.code))\n```\n\n## Response fields\n\n| Field | Type | Description |\n|------|-----|----------|\n| `success` | boolean | `true` on success |\n| `data` | array | Array of type cards. The card fields are listed in the \"Response fields\" section of the [Get a booking resource type](\u002Fdocs\u002Fentities\u002Fbooking-resource-types\u002Fget) page |\n| `meta.total` | number | Number of types in the response |\n| `meta.hasMore` | boolean | Always `false`: the list arrives whole |\n\n## Response example\n\nThe main card fields are shown. The full set is on the [Get a booking resource type](\u002Fdocs\u002Fentities\u002Fbooking-resource-types\u002Fget) page.\n\n```json\n{\n  \"success\": true,\n  \"data\": [\n    {\n      \"id\": 3,\n      \"code\": \"equipment\",\n      \"name\": \"Equipment\",\n      \"senderCode\": null,\n      \"isInfoNotificationOn\": true,\n      \"isConfirmationNotificationOn\": true,\n      \"isReminderNotificationOn\": true,\n      \"isFeedbackNotificationOn\": false,\n      \"isDelayedNotificationOn\": true,\n      \"isCancellationNotificationOn\": true,\n      \"templateTypeConfirmation\": \"inanimate\"\n    },\n    {\n      \"id\": 5,\n      \"code\": \"expert\",\n      \"name\": \"Expert\",\n      \"senderCode\": null,\n      \"isInfoNotificationOn\": true,\n      \"isConfirmationNotificationOn\": true,\n      \"isReminderNotificationOn\": true,\n      \"isFeedbackNotificationOn\": false,\n      \"isDelayedNotificationOn\": true,\n      \"isCancellationNotificationOn\": true,\n      \"templateTypeConfirmation\": \"animate\"\n    }\n  ],\n  \"meta\": {\n    \"total\": 2,\n    \"hasMore\": false\n  }\n}\n```\n\n## Error response example\n\n400 — the filter field is not supported:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"INVALID_PARAMS\",\n    \"message\": \"Unknown resource type filter\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|-----|----------|\n| 400 | `INVALID_PARAMS` | A filter field is not one of the allowed fields. Message `Unknown resource type filter` |\n| 400 | `INVALID_PARAMS` | A filter field value is an object. Message `Filter values must be scalars or scalar arrays` |\n| 400 | `INVALID_PARAMS` | Sorting by a field other than `id`, `name` or `code`, or in a direction other than `ASC` \u002F `DESC`. Message `Invalid resource type order` |\n| 400 | `INVALID_PARAMS` | `filter` or `order` is not JSON. Message `filter and order must be JSON objects` |\n| 400 | `INVALID_PARAMS` | `filter` or `order` is JSON but not an object, for example an array. Message `filter and order must be objects` |\n| 400 | `INVALID_PARAMS` | A parameter other than `filter` and `order` is passed. Message `Only filter and order are supported` |\n| 400 | `INVALID_PARAMS` | A parameter is passed twice. Message `Repeated query parameters are not supported` |\n| 401 | `MISSING_API_KEY` | The `X-Api-Key` header is not passed |\n| 401 | `TOKEN_MISSING` | The key has no Bitrix24 tokens |\n| 403 | `SCOPE_DENIED` | The key does not have the `booking` scope |\n| 429 | `RATE_LIMITED` | Request rate exceeded. The effective cap is in the `x-ratelimit-limit` header |\n| 502 | `BITRIX_RESPONSE_INVALID` | The Bitrix24 account has more than 500 types, or Bitrix24 returned a list of an unexpected shape |\n\nFull list of common API errors — [Errors](\u002Fdocs\u002Ferrors).\n\n## Known specifics\n\n**A filter by `id` does not work.** The `id` field and uppercase field names, for example `CODE`, pass validation but do not filter records: the response contains all types of the Bitrix24 account. To get a single type by its identifier, call [`GET \u002Fv1\u002Fbooking-resource-types\u002F:id`](\u002Fdocs\u002Fentities\u002Fbooking-resource-types\u002Fget).\n\n**Built-in types.** Besides the types created through the API, the list contains types that Bitrix24 creates on its own, for example `equipment` — \"Equipment\" and `room` — \"Property\".\n\n## See also\n\n- [Get a booking resource type](\u002Fdocs\u002Fentities\u002Fbooking-resource-types\u002Fget)\n- [Create a booking resource type](\u002Fdocs\u002Fentities\u002Fbooking-resource-types\u002Fcreate)\n- [Booking resources](\u002Fdocs\u002Fentities\u002Fbooking-resources)\n- [Errors](\u002Fdocs\u002Ferrors)\n","2026-10-13",{},1795415177401]