For AI agents: markdown of this page — /docs-content-en/entities/statuses/get.md documentation index — /llms.txt
Get dictionary record
GET /v1/statuses/:id
Returns a single CRM dictionary record by ID.
Path parameters
| Parameter | Type | Description |
|---|---|---|
id |
number | Dictionary record ID |
Examples
curl — personal key
curl "https://vibecode.bitrix24.com/v1/statuses/1" \
-H "X-Api-Key: YOUR_API_KEY"
curl — OAuth application
curl "https://vibecode.bitrix24.com/v1/statuses/1" \
-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/statuses/1', {
headers: { 'X-Api-Key': 'YOUR_API_KEY' },
})
const { success, data } = await res.json()
JavaScript — OAuth application
const res = await fetch('https://vibecode.bitrix24.com/v1/statuses/1', {
headers: {
'X-Api-Key': 'YOUR_APP_KEY',
'Authorization': 'Bearer USER_SESSION_TOKEN',
},
})
const { success, data } = await res.json()
Response fields
| Field | Type | Description |
|---|---|---|
id |
number | Record ID |
entityId |
string | Dictionary type (DEAL_STAGE, SOURCE, CONTACT_TYPE, etc.) |
statusId |
string | Symbolic code of the value |
name |
string | Name |
nameInit |
string/null | Original name |
sort |
number | Sort order |
system |
boolean | System value. Read-only |
categoryId |
number/null | Pipeline ID. Set for dictionaries of the form DEAL_STAGE_N, otherwise 0 or null |
color |
string/null | Color in HEX with a leading # |
semantics |
string/null | Semantics: S — success, F — failure. null — an in-progress stage or a dictionary without semantics |
extra |
object/null | Additional data for stage dictionaries DEAL_STAGE, QUOTE_STATUS, DEAL_STAGE_N — nested keys SEMANTICS and COLOR. Read-only, absent for other dictionaries |
Response example
{
"success": true,
"data": {
"id": 101,
"entityId": "DEAL_STAGE",
"statusId": "NEW",
"name": "New",
"nameInit": "New",
"sort": 10,
"system": true,
"categoryId": null,
"color": "#39A8EF",
"semantics": null,
"extra": {
"SEMANTICS": "process",
"COLOR": "#39A8EF"
}
}
}
Error response example
{
"success": false,
"error": { "code": "ENTITY_NOT_FOUND", "message": "CRM Status is not found." }
}
Errors
| HTTP | Code | Description |
|---|---|---|
| 404 | ENTITY_NOT_FOUND |
No record with the given id |
| 403 | SCOPE_DENIED |
API key does not have the crm scope |
| 401 | TOKEN_MISSING |
API key was not provided |
Full list of errors — Errors.
See also
- List of dictionaries — all records with filters
- Update record — change a value
- CRM dictionaries — entity overview