List all labels
Retrieves all configured labels in the system, with optional search, sorting, and pagination controlled via the 'sort', 'limit', 'offset' and 'search' parameters.
https://YOUR-NETWORK-DOMAIN/rest-api/label/list.do Retrieves all configured labels in the system, with optional search, sorting, and pagination controlled via the 'sort', 'limit', 'offset' and 'search' parameters. If no sort field is specified, results are sorted by 'id'. If no limit is specified, all labels are returned. The response is a JSON array of simplified label objects containing 'id' and 'value' fields. Requires the LABELS_MANAGEMENT permission.
Query Params
activeOnly boolean
When true, return only active (non-deleted) records
true dir string
Sort direction: ASC or DESC
ASC labels array<integer>
Filter by label IDs
101,102 limit integer
Maximum number of records to return per page
50 multisort array<string>
Multi-column sort configuration as a JSON array of objects with 'property' and 'direction' fields
[{"property":"id","direction":"ASC"}] name string
Filter by entity name
my-campaign onlyData boolean
When true, return only data rows without metadata
false onlyTotal boolean
When true, return only the total count without data rows
false query string
Search query string to filter results by name or other searchable fields
test role integer
Filter by user role ID
3 sort string
Field name to sort results by
id start integer
Pagination offset (0-based index of the first record to return)
0 Responses
200
Labels retrieved successfully
400
Bad request — invalid or missing parameters
401
Authentication error
403
No access to labels management