# List the values of an attribute

`GET /v1/attributes/{key}/values`

Requires an API key with the `attributes:read` scope. [About keys and scopes](/docs/api/authentication)

The distinct values contacts hold for one attribute key, with how many hold each, for value suggestions in rules; each member of a list counts on its own. The 100 most common only, from the same index as the key list. A masked key returns no values to a member or an embed session. Embed sessions reach this only when minted with `includeAttributeValues`.

## Path parameters

- `key` (string, required)

## Query parameters

- `limit` (integer, optional, min > 0, max 100, default `20`)
- `cursor` (string, optional, 1–2048 characters)

## Returns

Returns `200 OK` with a list of `AttributeValue` objects in `data`, and the next page's cursor in `meta` (see [pagination](/docs/api/pagination)). Otherwise returns an error; [Errors](/docs/api/errors) lists every code and which to retry.

- `value` (string | number | boolean, required)
- `count` (integer, required, min 0, max 9007199254740991) — Contacts holding this value.

## Example

```bash
curl https://api.kirora.io/v1/attributes/key_example/values \
  -H "Authorization: Bearer $KIRORA_API_KEY"
```

Response `200`:

```json
{
  "data": [
    {
      "value": "value_example",
      "count": 0
    }
  ],
  "meta": {
    "pagination": {
      "limit": 1,
      "nextCursor": "nextCursor_example"
    }
  }
}
```
