For AI agents: markdown of this page — /docs-content-en/entities/deal-categories/list.md documentation index — /llms.txt

List pipelines

GET /v1/deal-categories

Returns the list of sales pipelines for your Bitrix24 account with sorting and pagination support.

The main pipeline with id 0 is not part of this list — it is available via /v1/categories/2.

Parameters

Parameter Type Default Description
limit number 50 Number of records
offset number 0 Skip N records
select string Field selection: ?select=id,name,sort
order object Sorting: ?order[sort]=asc
filter object Exact-match and $in (IN set) only, by id, name, sort. Operators (>, >=, <, <=, !, %, $ne, $contains, $nin) and filtering by isLocked / createdAt are not supported — you get 400 UNSUPPORTED_FILTER.
Filtering syntax. Example: ?filter[name]=Newest

Examples

curl — personal key

Terminal
curl "https://vibecode.bitrix24.com/v1/deal-categories?order[sort]=asc" \
  -H "X-Api-Key: YOUR_API_KEY"

curl — OAuth application

Terminal
curl "https://vibecode.bitrix24.com/v1/deal-categories?order[sort]=asc" \
  -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/deal-categories?order[sort]=asc', {
  headers: { 'X-Api-Key': 'YOUR_API_KEY' },
})
const { success, data, meta } = await res.json()

JavaScript — OAuth application

javascript
const res = await fetch('https://vibecode.bitrix24.com/v1/deal-categories?order[sort]=asc', {
  headers: {
    'X-Api-Key': 'YOUR_APP_KEY',
    'Authorization': 'Bearer USER_SESSION_TOKEN',
  },
})
const { success, data, meta } = await res.json()

Response fields

Field Type Description
data[].id number Pipeline ID
data[].name string Name
data[].sort number Sort
data[].isLocked boolean Whether the pipeline is locked — unavailable on the current plan
data[].createdAt datetime Creation date

Response example

JSON
{
  "success": true,
  "data": [
    {
      "id": 1,
      "name": "Sales",
      "sort": 100,
      "isLocked": false,
      "createdAt": "2025-01-15T10:30:00.000Z"
    },
    {
      "id": 3,
      "name": "Corporate sales",
      "sort": 200,
      "isLocked": false,
      "createdAt": "2025-06-01T14:00:00.000Z"
    }
  ],
  "meta": { "total": 2, "hasMore": false }
}

Error response example

JSON
{
  "success": false,
  "error": { "code": "SCOPE_DENIED", "message": "This endpoint requires 'crm' scope" }
}

Errors

HTTP Code Description
400 UNSUPPORTED_FILTER An operator or a non-filterable field in the filter. Filter by exact match or $in on id, name, sort
403 SCOPE_DENIED The API key lacks the crm scope
401 TOKEN_MISSING No API key provided

Full list of errors — Errors.

Known specifics

Exact match only in the filter. The filter applies exact match (and the $in set) on id, name, sort. Operators (>, <, !, %), $ne/$contains/$nin and filtering by isLocked / createdAt return 400 UNSUPPORTED_FILTER — so you see immediately that the filter did not apply instead of getting the whole list unfiltered. In Bitrix24 isLocked is a selection visibility toggle, not an equality field: the value Y returns all pipelines, N returns all except locked ones. In the response this field arrives as a boolean. Sorting order by sort still works.

See also