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.

Parameters

Parameter Type Required Description
Parameterid (path) Typenumber Requiredyes DescriptionDictionary record ID. List: GET /v1/statuses

Examples

curl — personal key

Terminal
curl "https://vibecode.bitrix24.com/v1/statuses/1" \
  -H "X-Api-Key: YOUR_API_KEY"

curl — OAuth application

Terminal
curl "https://vibecode.bitrix24.com/v1/statuses/1" \
  -H "X-Api-Key: YOUR_APP_KEY" \
  -H "Authorization: Bearer USER_SESSION_TOKEN"

JavaScript — personal key

javascript
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

javascript
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
Fieldsuccess Typeboolean DescriptionAlways true on success
Fielddata Typeobject DescriptionDictionary record (all fields — see Dictionary fields)

Response example

JSON
{
  "success": true,
  "data": {
    "id": 101,
    "entityId": "DEAL_STAGE",
    "statusId": "NEW",
    "name": "New",
    "nameInit": "New",
    "sort": 10,
    "system": true,
    "categoryId": null,
    "color": "#39A8EF",
    "semantics": null,
    "description": null,
    "extra": {
      "SEMANTICS": "process",
      "COLOR": "#39A8EF"
    }
  }
}

Error response example

404 — record not found:

JSON
{
  "success": false,
  "error": { "code": "ENTITY_NOT_FOUND", "message": "CRM Status is not found." }
}

Errors

HTTP Code Description
HTTP400 CodeINVALID_PARAMS Descriptionid is not a non-negative integer. Message: id must be a non-negative integer
HTTP404 CodeENTITY_NOT_FOUND DescriptionNo record with the given id
HTTP403 CodeSCOPE_DENIED DescriptionAPI key does not have the crm scope
HTTP401 CodeMISSING_API_KEY DescriptionThe X-Api-Key header is missing

Full list of errors — Errors.

See also