[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-chats\u002Fstickers\u002Fpack-get":3,"docs-tabs-chats\u002Fstickers\u002Fpack-get":6},{"content":4,"lastmod":5},"## Get a sticker pack\n\n`GET \u002Fv1\u002Fchats\u002Fstickers\u002Fpacks\u002F:packId`\n\nReturns a sticker pack with all its stickers: a built-in pack or any user pack in the Bitrix24 account, not only your own. This is how Bitrix24 shows the pack of a sticker that arrived in a message.\n\n## Parameters\n\n| Parameter | Type | Required | Description |\n|----------|-----|:-----:|----------|\n| `packId` (path) | number | yes | Pack ID — `data.packs[].id` from the [list of packs](\u002Fdocs\u002Fchats\u002Fstickers\u002Fpacks) or the `packId` of a sticker from a message (the `data.stickers` field of the [first page of messages](\u002Fdocs\u002Fchats\u002Fmessages\u002Finitial)) |\n| `packType` (query) | string | yes | `vendor` — a built-in pack, `custom` — a user pack |\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fchats\u002Fstickers\u002Fpacks\u002F14?packType=vendor\" \\\n  -H \"X-Api-Key: YOUR_API_KEY\"\n```\n\n### curl — OAuth application\n\n```bash\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fchats\u002Fstickers\u002Fpacks\u002F14?packType=vendor\" \\\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\u002Fchats\u002Fstickers\u002Fpacks\u002F14?packType=vendor', {\n  headers: { 'X-Api-Key': 'YOUR_API_KEY' },\n})\n\nconst { data } = await res.json()\nconsole.log(data.pack.name, '— stickers:', data.stickers.length)\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fchats\u002Fstickers\u002Fpacks\u002F14?packType=vendor', {\n  headers: {\n    'X-Api-Key': 'YOUR_APP_KEY',\n    'Authorization': 'Bearer USER_SESSION_TOKEN',\n  },\n})\n\nconst { data } = await res.json()\nconsole.log(data.pack.name, '— stickers:', data.stickers.length)\n```\n\n## Response fields\n\n| Field | Type | Description |\n|------|-----|---------|\n| `success` | boolean | Always `true` on success |\n| `data.pack` | object | The pack |\n| `data.pack.id` | number | Pack ID |\n| `data.pack.name` | string | Pack name |\n| `data.pack.type` | string | Pack type: `vendor` or `custom` |\n| `data.pack.authorId` | number \\| null | ID of the author of a user pack; `null` for a built-in pack |\n| `data.pack.isAdded` | boolean | The pack is in the user's list |\n| `data.stickers` | array | Stickers of the pack |\n| `data.stickers[].id` | number | Sticker ID |\n| `data.stickers[].packId` | number | Pack ID |\n| `data.stickers[].packType` | string | Pack type: `vendor` or `custom` |\n| `data.stickers[].uri` | string | Path to the image in the Bitrix24 account — relative, without the domain |\n| `data.stickers[].type` | string | Sticker type: `image` |\n| `data.stickers[].width` | number | Image width in pixels |\n| `data.stickers[].height` | number | Image height in pixels |\n| `data.stickers[].sort` | number | Sticker order in the pack |\n\n## Response example\n\nTwo stickers of the pack are shown:\n\n```json\n{\n  \"success\": true,\n  \"data\": {\n    \"stickers\": [\n      { \"id\": 1, \"uri\": \"\u002Fbitrix\u002Fimages\u002Fim\u002Fstickers\u002FaiHelp\u002F1.png?v1\", \"type\": \"image\", \"width\": 512, \"height\": 512, \"packId\": 14, \"packType\": \"vendor\", \"sort\": 1 },\n      { \"id\": 2, \"uri\": \"\u002Fbitrix\u002Fimages\u002Fim\u002Fstickers\u002FaiHelp\u002F2.png?v1\", \"type\": \"image\", \"width\": 512, \"height\": 512, \"packId\": 14, \"packType\": \"vendor\", \"sort\": 2 }\n    ],\n    \"pack\": { \"id\": 14, \"name\": \"AI Help\", \"type\": \"vendor\", \"authorId\": null, \"isAdded\": true }\n  }\n}\n```\n\n## Error response example\n\n422 — there is no pack with this `id` and `packType`:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"BITRIX_ERROR\",\n    \"message\": \"PACK_NOT_AVAILABLE\",\n    \"b24Code\": \"PACK_NOT_AVAILABLE\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|-----|---------|\n| 400 | `INVALID_PARAMS` | `packId` is not a positive integer, `packType` is missing or is not `vendor` \u002F `custom`, another parameter was passed, or a parameter was repeated |\n| 401 | `TOKEN_MISSING` | The key has no configured Bitrix24 tokens |\n| 403 | `SCOPE_DENIED` | The key lacks the `im` scope |\n| 404 | `ENTITY_NOT_FOUND` | Bitrix24 did not find the object; the portal code is in `error.b24Code` if supplied |\n| 422 | `BITRIX_ERROR` | `error.b24Code`: `PACK_NOT_AVAILABLE` — the pack does not exist |\n| 502 | `BITRIX_UNAVAILABLE` | Bitrix24 is unavailable or returned a server error |\n\nFull list of common API errors — [Errors](\u002Fdocs\u002Ferrors).\n\n## Known specifics\n\n- A built-in pack and a user pack may have the same `id`, so `packType` is required.\n\n## See also\n\n- [List of packs](\u002Fdocs\u002Fchats\u002Fstickers\u002Fpacks)\n- [Rename a pack](\u002Fdocs\u002Fchats\u002Fstickers\u002Fpack-update)\n- [Delete a pack](\u002Fdocs\u002Fchats\u002Fstickers\u002Fpack-delete)\n- [Add a pack](\u002Fdocs\u002Fchats\u002Fstickers\u002Flink-create)\n","2026-10-06",{},1795344027155]