[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-entities\u002Fpages\u002Fcatalog-manifest":3,"docs-tabs-entities\u002Fpages\u002Fcatalog-manifest":6},{"content":4,"lastmod":5},"## Read a catalog manifest\n\n`GET \u002Fv1\u002Fblock-repository\u002F:code\u002Fmanifest`\n\nReturns the manifest of a catalog block: which nodes, card sets and style settings the block has. Use the selectors from the manifest to edit the block's nodes and cards on a page.\n\n## Parameters\n\n| Parameter | Type | Required | Description |\n|----------|-----|:-----:|----------|\n| `code` (path) | string | yes | Catalog block code, for example `bitrix:03.1.three_cols_big_with_text_and_titles` or `03.1.three_cols_big_with_text_and_titles` — both forms are accepted. Get the codes from [`GET \u002Fv1\u002Fblock-repository`](\u002Fdocs\u002Fentities\u002Fpages\u002Fcatalog): the code is the key of an item in a section's `items`. Encode colons and `@` in the code with `encodeURIComponent` |\n| `scope` (query) | string | no | Internal landing area: `KNOWLEDGE` — knowledge base, `GROUP` — group knowledge base, `MAINPAGE` — home page. Omit it for a regular site |\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fblock-repository\u002Fbitrix%3A03.1.three_cols_big_with_text_and_titles\u002Fmanifest\" \\\n  -H \"X-Api-Key: YOUR_API_KEY\"\n```\n\n### curl — OAuth application\n\n```bash\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fblock-repository\u002Fbitrix%3A03.1.three_cols_big_with_text_and_titles\u002Fmanifest\" \\\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 code = encodeURIComponent(\"bitrix:03.1.three_cols_big_with_text_and_titles\")\nconst response = await fetch(`https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fblock-repository\u002F${code}\u002Fmanifest`, {\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### JavaScript — OAuth application\n\n```javascript\nconst code = encodeURIComponent(\"bitrix:03.1.three_cols_big_with_text_and_titles\")\nconst response = await fetch(`https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fblock-repository\u002F${code}\u002Fmanifest`, {\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## Response fields\n\n| Field | Type | Description |\n|------|-----|----------|\n| `success` | boolean | Always `true` on success |\n| `data.code` | string | Block code in the form it was passed in the path |\n| `data.block` | object | Block description: title `name`, description `description`, catalog sections `section`, site types `type`. Returned if present in the manifest |\n| `data.nodes` | object \\| array | Block nodes. The key is a node selector, the value is the title `name` and the type `type`, for example `text` or `img`. Returned if present in the manifest |\n| `data.cards` | object \\| array | Card sets. The key is a set selector, the value is the title `name`, the label nodes `label` and the presets `presets`, if any. A block without cards returns an empty array `[]`. Returned if present in the manifest |\n| `data.style` | object \\| array | Style settings. The key is an element selector or a group, the value is the title and the available setting types. Returned if present in the manifest |\n| `data.assets` | object \\| array | Files the block includes. Returned if present in the manifest |\n\n## Response example\n\nOnly some of the `style` keys are shown. The full response has six:\n\n```json\n{\n  \"success\": true,\n  \"data\": {\n    \"code\": \"bitrix:03.1.three_cols_big_with_text_and_titles\",\n    \"block\": {\n      \"name\": \"Full-width 3-column text on a colored background\",\n      \"description\": \"Three columns with titles and text\",\n      \"section\": [\n        \"columns\",\n        \"text\"\n      ]\n    },\n    \"nodes\": {\n      \".landing-block-node-subtitle\": {\n        \"name\": \"Subtitle\",\n        \"type\": \"text\"\n      },\n      \".landing-block-node-title\": {\n        \"name\": \"Title\",\n        \"type\": \"text\"\n      },\n      \".landing-block-node-text\": {\n        \"name\": \"Text\",\n        \"type\": \"text\"\n      }\n    },\n    \"cards\": {\n      \".landing-block-card\": {\n        \"name\": \"Column\",\n        \"label\": [\n          \".landing-block-node-subtitle\",\n          \".landing-block-node-title\"\n        ]\n      }\n    },\n    \"style\": {\n      \".landing-block-inner-container\": {\n        \"name\": \"Columns\",\n        \"type\": [\n          \"row-align\"\n        ]\n      },\n      \".landing-block-card\": {\n        \"name\": \"Column\",\n        \"type\": [\n          \"columns\",\n          \"animation\"\n        ]\n      }\n    }\n  }\n}\n```\n\n## Error response example\n\n404 — the catalog has no block with this code, or the block has no manifest file:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"ENTITY_NOT_FOUND\",\n    \"message\": \"Block manifest file not found.\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|-----|----------|\n| 404 | `ENTITY_NOT_FOUND` | `Block manifest file not found.` — the catalog has no block with this code, or the block has no manifest file, as with application blocks `repo_N` |\n| 404 | `ENTITY_NOT_FOUND` | `Block or page not found.` — the catalog of the current Bitrix24 account has no block with this code. Which of the two messages arrives depends on the step at which the block was not found |\n| 400 | `INVALID_PARAMS` | `code must be a non-empty block code.` — `code` is empty or contains only whitespace |\n| 400 | `INVALID_SCOPE` | `scope` is not `KNOWLEDGE`, `GROUP` or `MAINPAGE` |\n| 502 | `BITRIX_INVALID_RESPONSE` | `Bitrix24 returned an invalid block manifest.` — Bitrix24 returned a manifest that is not an object |\n| 502 | `BITRIX_INVALID_RESPONSE` | `Bitrix24 block response exceeds the 8 MiB limit.` — the Bitrix24 response is larger than 8 MiB |\n| 422 | `BITRIX_ERROR` | Bitrix24 rejected the request. The error text comes from Bitrix24 |\n| 403 | `SCOPE_DENIED` | The API key does not have the `landing` scope |\n| 403 | `BITRIX_ACCESS_DENIED` | The Bitrix24 user on whose behalf the key was issued has no permission to read the catalog |\n| 401 | `MISSING_API_KEY` | The `X-Api-Key` header is missing |\n| 401 | `INVALID_API_KEY` | The key in `X-Api-Key` was not found or has been revoked |\n| 401 | `TOKEN_MISSING` | The API key has no configured tokens |\n| 409 | `LANDING_MODULE_NOT_ENABLED` | The Sites module is unavailable on the Bitrix24 account |\n| 409 | `PORTAL_ADDRESS_CHANGED` | The on-premise Bitrix24 moved to a new address, but the key's webhook was issued for the old one. Reissue the key's webhook |\n| 429 | `RATE_LIMITED` | The Bitrix24 request limit was exceeded. Retry the request in 1-2 seconds |\n| 502 | `BITRIX_UNAVAILABLE` | Bitrix24 did not respond or responded with a server error |\n| 503 | `BITRIX_TIMEOUT` | Bitrix24 did not respond within the allotted time |\n\nFull list of common API errors — [Errors](\u002Fdocs\u002Ferrors).\n\n## Known specifics\n\n- **Application blocks have only a sample.** `repo_N` blocks have no manifest. [`GET \u002Fv1\u002Fblock-repository\u002F:code\u002Fcontent`](\u002Fdocs\u002Fentities\u002Fpages\u002Fcatalog-content) returns the HTML of such a block.\n- **A read-only key works.** The method only reads data, so a read-only key gets a response.\n- **Addresses with credentials are hidden.** A string that contains an address with credentials is replaced with `[REDACTED]`.\n\n## See also\n\n- [Block catalog](\u002Fdocs\u002Fentities\u002Fpages\u002Fcatalog)\n- [Catalog sample](\u002Fdocs\u002Fentities\u002Fpages\u002Fcatalog-content)\n- [Block content](\u002Fdocs\u002Fentities\u002Fpages\u002Fblock-content)\n- [Rebuild a card set](\u002Fdocs\u002Fentities\u002Fpages\u002Fcards\u002Fupdate)\n- [Pages](\u002Fdocs\u002Fentities\u002Fpages)\n","2026-10-20",{},1795376957214]