# Listar etiquetas

GET `https://api.bydomu.com/v1/tags`

This reference is generated from the API’s code, so descriptions are in Spanish. Names, parameters and examples are the same in every language.

Etiquetas de la organización en orden alfabético, con cuántos contactos, negocios, conversaciones y propiedades usan cada una.

Permission required

`tags:read`

Required header

`X-API-Key` · secret key

Access level

Level 2 · automatic on Inmobiliaria Pro

## Response 200

`Tag[]` · 5 fields

**`data[]` id · name · color · organizationId · _count**

`id` string

`name` string

`color` string

`organizationId` string

**`_count` contacts · deals · conversations · properties**

`contacts` integer

`deals` integer

`conversations` integer

`properties` integer

## Possible errors

shaped as `{ "error": { "code", "message" } }`

- **401** UNAUTHORIZED
- **403** FORBIDDEN
- **429** RATE_LIMITED
- **500** INTERNAL_ERROR

cURL:

```bash
curl "https://api.bydomu.com/v1/tags" \
  -H "X-API-Key: $BYDOMU_API_KEY"
```

JavaScript:

```js
import { ByDomu } from "@bydomu/sdk";

const bydomu = new ByDomu({
  apiKey: process.env.BYDOMU_API_KEY,
});

const { data } = await bydomu.tags.list();
```

Python:

```python
import os, requests

r = requests.get(
    "https://api.bydomu.com/v1/tags",
    headers={"X-API-Key": os.environ["BYDOMU_API_KEY"]}
)
data = r.json()
```

**Response · 200 · example**

```json
{
  "data": [
    {
      "id": "clx1tag001",
      "name": "VIP",
      "color": "#F59E0B",
      "organizationId": "clx1org001",
      "_count": {
        "contacts": 18,
        "deals": 4,
        "conversations": 2,
        "properties": 0
      }
    }
  ]
}
```
