[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-entities\u002Fquotes\u002Fget":3,"docs-tabs-entities\u002Fquotes\u002Fget":6},{"content":4,"lastmod":5},"\n## Get a quote\n\n`GET \u002Fv1\u002Fquotes\u002F:id`\n\nReturns a quote by ID with all fields, including user fields (`ufCrm_*`).\n\n## Parameters\n\n| Parameter | Type | Required | Description |\n|----------|-----|:-----:|---------|\n| `id` (path) | number | yes | Quote ID |\n| `include` (query) | string | no | Related data to include, comma-separated: `deal`, `contact`, `company`. See the \"Related data\" section |\n| `select` (query) | string | no | Comma-separated response fields, for example `id,title,amount`. Without it, every field is returned. Names come from [Quote fields](\u002Fdocs\u002Fentities\u002Fquotes\u002Ffields) |\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fquotes\u002F412\" \\\n  -H \"X-Api-Key: YOUR_API_KEY\"\n```\n\n### curl — OAuth application\n\n```bash\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fquotes\u002F412\" \\\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\u002Fquotes\u002F412', {\n  headers: {\n    'X-Api-Key': 'YOUR_API_KEY',\n  },\n})\n\nconst { success, data } = await res.json()\nconsole.log('Quote:', data.title, '—', data.amount, data.currency)\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fquotes\u002F412', {\n  headers: {\n    'X-Api-Key': 'YOUR_APP_KEY',\n    'Authorization': 'Bearer USER_SESSION_TOKEN',\n  },\n})\n\nconst { success, data } = await res.json()\n```\n\n## Response fields\n\n| Field | Type | Description |\n|------|-----|---------|\n| `success` | boolean | `true` when the request succeeds |\n| `data` | object | The quote with all fields, including user fields (`ufCrm_*`). All fields — [Quote fields](\u002Fdocs\u002Fentities\u002Fquotes\u002Ffields) |\n| `data._included` | object | Related entities. Returned only with the `include` parameter — see the \"Related data\" section |\n\n## Related data\n\nTo retrieve related entities together with the quote, pass the `include` parameter in the GET request:\n\n```\nGET \u002Fv1\u002Fquotes\u002F412?include=deal,contact,company\n```\n\nAvailable includes: `deal`, `contact`, `company`. The result is in the `_included` field:\n\n```json\n{\n  \"success\": true,\n  \"data\": {\n    \"id\": 412,\n    \"title\": \"Quote for server hardware\",\n    \"_included\": {\n      \"deal\": { \"id\": 741, \"title\": \"Equipment delivery\", \"amount\": 50000 },\n      \"contact\": { \"id\": 71, \"name\": \"John Brown\" },\n      \"company\": { \"id\": 15, \"title\": \"Acme LLC\" }\n    }\n  }\n}\n```\n\nMore about includes: [Related data](\u002Fdocs\u002Fincludes).\n\n## Response example\n\n```json\n{\n  \"success\": true,\n  \"data\": {\n    \"id\": 412,\n    \"title\": \"Quote for server hardware\",\n    \"amount\": 1500,\n    \"currency\": \"USD\",\n    \"stageId\": \"SENT\",\n    \"dealId\": 741,\n    \"contactId\": 71,\n    \"companyId\": 15,\n    \"assignedById\": 29,\n    \"createdBy\": 1,\n    \"comments\": \"\",\n    \"beginDate\": \"2026-04-15T00:00:00.000Z\",\n    \"closeDate\": \"2026-05-15T00:00:00.000Z\",\n    \"createdTime\": \"2026-04-15T10:30:00.000Z\",\n    \"updatedTime\": \"2026-04-15T14:22:00.000Z\",\n    \"_included\": {\n      \"deal\": { \"id\": 741, \"title\": \"Equipment delivery\", \"amount\": 50000 },\n      \"contact\": { \"id\": 71, \"name\": \"John Brown\" },\n      \"company\": { \"id\": 15, \"title\": \"Acme LLC\" }\n    }\n  }\n}\n```\n\n\n## Error response example\n\n404 — quote not found:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"ENTITY_NOT_FOUND\",\n    \"message\": \"Item not found\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|-----|---------|\n| 404 | `ENTITY_NOT_FOUND` | A quote with this ID was not found |\n| 400 | `INVALID_INCLUDE` | `include` contains an unknown name. The message lists the allowed ones: `deal`, `contact`, `company` |\n| 400 | `UNKNOWN_SELECT_FIELD` | `select` contains an unknown field. The message lists the allowed names |\n| 403 | `ACCESS_DENIED` | No access to the quote |\n| 403 | `SCOPE_DENIED` | The API key lacks the `crm` scope |\n| 401 | `TOKEN_MISSING` | The API key has no configured tokens |\n\nFull list of common API errors — [Errors](\u002Fdocs\u002Ferrors).\n\n## See also\n\n- [Working with files in CRM fields](\u002Fdocs\u002Frecipes\u002Fcrm-files)\n- [Update a quote](\u002Fdocs\u002Fentities\u002Fquotes\u002Fupdate)\n- [List quotes](\u002Fdocs\u002Fentities\u002Fquotes\u002Flist)\n- [Quote fields](\u002Fdocs\u002Fentities\u002Fquotes\u002Ffields)\n- [Limits and optimization](\u002Fdocs\u002Foptimization)\n","2026-10-19",{},1794739406760]