[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-entities\u002Fbooking-resource-types\u002Fget":3,"docs-tabs-entities\u002Fbooking-resource-types\u002Fget":6},{"content":4,"lastmod":5},"# Get: Booking resource types\n\n`GET \u002Fv1\u002Fbooking-resource-types\u002F:id`\n\nReturns a booking resource type by its identifier: name, code and the settings for client messages about bookings.\n\n## Parameters\n\n| Parameter | Type | Required | Description |\n|----------|-----|:-----:|----------|\n| `id` (path) | number | yes | Type identifier. List: [`GET \u002Fv1\u002Fbooking-resource-types`](\u002Fdocs\u002Fentities\u002Fbooking-resource-types\u002Flist) |\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fbooking-resource-types\u002F31\" \\\n  -H \"X-Api-Key: YOUR_API_KEY\"\n```\n\n### curl — OAuth application\n\n```bash\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fbooking-resource-types\u002F31\" \\\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\u002Fbooking-resource-types\u002F31', {\n  headers: { 'X-Api-Key': 'YOUR_API_KEY' },\n})\n\nconst { data } = await res.json()\nconsole.log(data.name, data.code)\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fbooking-resource-types\u002F31', {\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.name, data.code)\n```\n\n## Response fields\n\nThe `is*NotificationOn` switches are always `true` or `false` in the response, even if the strings `\"Y\"` \u002F `\"N\"` were passed on write. Delays are in seconds.\n\n| Field | Type | Description |\n|------|-----|----------|\n| `success` | boolean | `true` on success |\n| `data.id` | number | Type identifier. Pass it in `typeId` when [creating a booking resource](\u002Fdocs\u002Fentities\u002Fbooking-resources\u002Fcreate) |\n| `data.code` | string | Symbolic code of the type, unique among the types of the Bitrix24 account |\n| `data.name` | string | Type name |\n| `data.senderCode` | string \\| null | Service that sends messages to the client, for example `bitrix24`. `null` — not set |\n| `data.isInfoNotificationOn` | boolean | Booking info message to the client |\n| `data.isConfirmationNotificationOn` | boolean | Booking confirmation request |\n| `data.isReminderNotificationOn` | boolean | Booking reminder |\n| `data.isFeedbackNotificationOn` | boolean | Feedback request |\n| `data.isDelayedNotificationOn` | boolean | Message to a client who is running late |\n| `data.isCancellationNotificationOn` | boolean | Booking cancellation message to the client |\n| `data.infoNotificationDelay` | number \\| null | How many seconds after the booking is made to send the booking info message |\n| `data.confirmationNotificationDelay` | number \\| null | How many seconds before the booking to send the first confirmation request |\n| `data.confirmationNotificationRepetitions` | number \\| null | How many times to repeat the confirmation request, not counting the first one |\n| `data.confirmationNotificationRepetitionsInterval` | number \\| null | Interval between repeats of the confirmation request |\n| `data.confirmationCounterDelay` | number \\| null | How many seconds before the booking an unconfirmed booking enters the counter |\n| `data.reminderNotificationDelay` | number \\| null | How many seconds before the booking to send the reminder. `-1` — on the morning of the booking day |\n| `data.delayedNotificationDelay` | number \\| null | After how many seconds of lateness to send the message to the client |\n| `data.delayedCounterDelay` | number \\| null | After how many seconds of lateness the booking enters the calendar counter |\n| `data.cancellationNotificationDelay` | number \\| null | Delay of the booking cancellation message |\n| `data.templateTypeConfirmation` | string | Confirmation request template: `inanimate`, `animate`, `inanimate_long` |\n| `data.templateTypeReminder` | string | Reminder template: `base` |\n| `data.templateTypeFeedback` | string | Feedback request template: `inanimate`, `animate` |\n| `data.templateTypeDelayed` | string | Late-arrival message template: `inanimate`, `animate` |\n\n## Response example\n\n```json\n{\n  \"success\": true,\n  \"data\": {\n    \"id\": 31,\n    \"code\": \"master\",\n    \"name\": \"Technicians\",\n    \"senderCode\": null,\n    \"isInfoNotificationOn\": false,\n    \"isConfirmationNotificationOn\": false,\n    \"isReminderNotificationOn\": false,\n    \"isFeedbackNotificationOn\": false,\n    \"isDelayedNotificationOn\": false,\n    \"isCancellationNotificationOn\": false,\n    \"infoNotificationDelay\": null,\n    \"confirmationNotificationDelay\": 86400,\n    \"confirmationNotificationRepetitions\": null,\n    \"confirmationNotificationRepetitionsInterval\": 10800,\n    \"confirmationCounterDelay\": 10800,\n    \"reminderNotificationDelay\": -1,\n    \"delayedNotificationDelay\": 300,\n    \"delayedCounterDelay\": 300,\n    \"cancellationNotificationDelay\": 600,\n    \"templateTypeConfirmation\": \"inanimate\",\n    \"templateTypeReminder\": \"base\",\n    \"templateTypeFeedback\": \"inanimate\",\n    \"templateTypeDelayed\": \"inanimate\"\n  }\n}\n```\n\n## Error response example\n\n404 — no type with this `id`:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"ENTITY_NOT_FOUND\",\n    \"message\": \"Booking record not found\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|-----|----------|\n| 404 | `ENTITY_NOT_FOUND` | No type with this `id` |\n| 400 | `INVALID_PARAMS` | `id` is not a positive integer. Message `id must be a positive safe integer` |\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` | Bitrix24 returned a card of an unexpected shape |\n\nFull list of common API errors — [Errors](\u002Fdocs\u002Ferrors).\n\n## Known specifics\n\n**The type's resources come from a separate request.** The type card does not list its resources. To get them, call [`GET \u002Fv1\u002Fbooking-resources?typeId=31`](\u002Fdocs\u002Fentities\u002Fbooking-resources\u002Flist).\n\n**The booking message template is not returned in the card.** [Create](\u002Fdocs\u002Fentities\u002Fbooking-resource-types\u002Fcreate) and [update](\u002Fdocs\u002Fentities\u002Fbooking-resource-types\u002Fupdate) accept the `templateTypeInfo` field, but the card does not include it. The current template cannot be read through the API.\n\n## See also\n\n- [List booking resource types](\u002Fdocs\u002Fentities\u002Fbooking-resource-types\u002Flist)\n- [Update a booking resource type](\u002Fdocs\u002Fentities\u002Fbooking-resource-types\u002Fupdate)\n- [Booking resources](\u002Fdocs\u002Fentities\u002Fbooking-resources)\n- [Errors](\u002Fdocs\u002Ferrors)\n","2026-10-15",{},1795415176343]