---
title: "Search Customers by Label"
method: GET
path: "/customers/labels/search?q={LabelName}"
deprecated: true
---

# Search Customers by Label

`GET /customers/labels/search?q={LabelName}`

> **Deprecated.**

Retrieves the list of customers tagged to a specific label. Searches by exact label name, case-insensitive. By default you will see a maximum of 10 records.

## Query parameters

- `q` string, required

## Response `200`

200

- object
  - `pagination` object
    - `limit` integer
    - `offset` integer
    - `total` integer
  - `data` object[]
    - `userId` integer
    - `customerLabels` object[]
      - `orgId` integer
      - `labelId` integer
      - `userId` integer
      - `labelName` string
  - `warnings` unknown[]
    - unknown
  - `errors` unknown[]
    - unknown

## Other responses

- `400` — 400

---

[API](https://skmtc.net/capillarytech/apis/sample-api.md) · [All operations](https://skmtc.net/capillarytech/apis/sample-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/capillarytech/sample-api/versions/de241f2ed9b3/schema)
