---
title: "Get a list of labels"
method: GET
path: "/v2/labels"
tags: ["Labels"]
---

# Get a list of labels

`GET /v2/labels`

This endpoint allows you to retrieve all the labels in an account. It can also be used to perform a direct search on a label identifier or name, and can be sorted by name or created at of the labels.


You need the "View customers" permission to use this endpoint.

## Query parameters

- `name` string[]
- `identifier` string[]
- `search` string
- `page_number` integer
- `page_size` integer

## Response `200`

Get a list of labels

- LabelGetLabelsPaginatedResponse
  - `first` string, required — The URL path to the first page.
  - `labels` LabelLabel[], required — List of labels
    - `created_at` string, date-time, required
    - `created_by` string, required
    - `identifier` string, uuid, required
    - `name` string, required — Name of the label.
    - `updated_at` string, date-time, required
    - `updated_by` string, required
  - `next` string, nullable — The URL path to the next page.
  - `prev` string, nullable — The URL path to the previous page.
  - `self` string, required — The URL path to the current page.
  - `total_count` integer, required — Total number of labels.

## Other responses

- `400` — Bad Request
- `403` — You do not have the permissions needed to access the resource.

---

[API](https://skmtc.dev/complyadvantage/apis/mesh-api.md) · [All operations](https://skmtc.dev/complyadvantage/apis/mesh-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/complyadvantage/mesh-api/revisions/fdaac4351d85/schema)
