For AI agents: markdown of this page — /docs-content-en/entities/quotes/get.md documentation index — /llms.txt
Get a quote
GET /v1/quotes/:id
Returns a quote by ID with all fields, including user fields (ufCrm_*).
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id (path) |
number | yes | Quote ID |
Examples
curl — personal key
curl "https://vibecode.bitrix24.com/v1/quotes/412" \
-H "X-Api-Key: YOUR_API_KEY"
curl — OAuth app
curl "https://vibecode.bitrix24.com/v1/quotes/412" \
-H "X-Api-Key: YOUR_APP_KEY" \
-H "Authorization: Bearer USER_SESSION_TOKEN"
JavaScript — personal key
const res = await fetch('https://vibecode.bitrix24.com/v1/quotes/412', {
headers: {
'X-Api-Key': 'YOUR_API_KEY',
},
})
const { success, data } = await res.json()
console.log('Quote:', data.title, '—', data.amount, data.currency)
JavaScript — OAuth app
const res = await fetch('https://vibecode.bitrix24.com/v1/quotes/412', {
headers: {
'X-Api-Key': 'YOUR_APP_KEY',
'Authorization': 'Bearer USER_SESSION_TOKEN',
},
})
const { success, data } = await res.json()
More about include: Related data.
Response fields
The quote object with all fields — see Quote fields.
Related data
Retrieve related entities together with the quote — the include parameter in a GET request:
GET /v1/quotes/412?include=deal,contact,company
Available include: deal, contact, company. The result is in the _included field:
{
"success": true,
"data": {
"id": 412,
"title": "Quote for server hardware",
"_included": {
"deal": { "id": 741, "title": "Equipment delivery", "amount": 50000 },
"contact": { "id": 71, "name": "John Brown" },
"company": { "id": 15, "title": "Acme LLC" }
}
}
}
More about include: Related data.
Response example
{
"success": true,
"data": {
"id": 412,
"title": "Quote for server hardware",
"amount": 150000,
"currency": "USD",
"stageId": "SENT",
"dealId": 741,
"contactId": 71,
"companyId": 15,
"assignedById": 29,
"createdBy": 1,
"comments": "",
"beginDate": "2026-04-15T00:00:00.000Z",
"closeDate": "2026-05-15T00:00:00.000Z",
"createdTime": "2026-04-15T10:30:00.000Z",
"updatedTime": "2026-04-15T14:22:00.000Z",
"_included": {
"deal": { "id": 741, "title": "Equipment delivery", "amount": 50000 },
"contact": { "id": 71, "name": "John Brown" },
"company": { "id": 15, "title": "Acme LLC" }
}
}
}
Error response example
404 — quote not found:
{
"success": false,
"error": {
"code": "ENTITY_NOT_FOUND",
"message": "Item not found"
}
}
More about include: Related data.
Errors
| HTTP | Code | Description |
|---|---|---|
| 404 | ENTITY_NOT_FOUND |
A quote with this ID was not found |
| 403 | ACCESS_DENIED |
No access to the quote |
| 403 | SCOPE_DENIED |
The API key lacks the crm scope |
| 401 | TOKEN_MISSING |
The API key has no configured tokens |
Full list of common API errors — Errors.
See also
- Working with files in CRM fields
- Update a quote — modifying fields
- List quotes — search with filters
- Quote fields — description of all fields
- Limits and optimization — rate limits