# Listar campos personalizados de contactos

GET `https://api.bydomu.com/v1/custom-fields`

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

Definiciones activas de campos personalizados de CONTACTOS, ordenadas por sección y orden.

Permission required

`custom_fields:read`

Required header

`X-API-Key` · secret key

Access level

Level 2 · automatic on Inmobiliaria Pro

## Response 200

`CustomField[]` · 14 fields

**`data[]` id · name · label · fieldType · options · section · entity · isRequired · order · isActive · placeholder · helpText · createdAt · updatedAt**

`id` string

`name` string

`label` string

`fieldType` string TEXT, NUMBER, SELECT, MULTI_SELECT, BOOLEAN, DATE

`options` any Opciones de SELECT / MULTI_SELECT

`section` string

`entity` string CONTACT, PROPERTY, DEAL

`isRequired` boolean

`order` integer

`isActive` boolean

`placeholder` string

`helpText` string

`createdAt` string

`updatedAt` string

## 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/custom-fields" \
  -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.customFields.list();
```

Python:

```python
import os, requests

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

**Response · 200 · example**

```json
{
  "data": [
    {
      "id": "clx1cf001",
      "name": "tipo_credito",
      "label": "Tipo de crédito",
      "fieldType": "TEXT",
      "options": [
        "Hipotecario"
      ],
      "section": "financiero",
      "entity": "CONTACT",
      "isRequired": false,
      "order": 1,
      "isActive": true,
      "placeholder": "Selecciona el tipo de crédito",
      "helpText": "Financiación aprobada del cliente",
      "createdAt": "2025-06-01T10:00:00.000Z",
      "updatedAt": "2026-01-15T14:00:00.000Z"
    }
  ]
}
```
