# Tablero de un pipeline

GET `https://api.bydomu.com/v1/pipelines/{id}`

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

Las etapas del pipeline, en orden, cada una con sus negocios (vista de tablero). Un pipeline que no existe responde una lista vacía.

Permission required

`deals:read`

Required header

`X-API-Key` · secret key

Access level

Level 2 · automatic on Inmobiliaria Pro

## Path parameters

1 · required

`id` string · **required**

ID del pipeline

## Response 200

`PipelineBoardStage[]` · 8 fields

**`data[]` id · name · order · color · isDefault · isWon · isLost · deals**

`id` string

`name` string

`order` integer

`color` string

`isDefault` boolean

`isWon` boolean

`isLost` boolean

**`deals[]` id · code · title · value · currency · probability · status · closedAt · expectedCloseDate · lostReason · lostReasonCategory · intent · budgetMin · budgetMax · preferredZones · propertyTypes · leadSource · notes · agentId · contactId · createdAt · updatedAt · contact · agent · stage · stageOrder · otherPipelineCount · nextAppointment · nextAction · nextStep**

`id` string

`code` string Código legible del negocio

`title` string

`value` string Número decimal serializado como texto.

`currency` string

`probability` integer

`status` string OPEN, WON, LOST

`closedAt` string

`expectedCloseDate` string

`lostReason` string

`lostReasonCategory` string

`intent` string PURCHASE, RENT, BOTH, SELLER

`budgetMin` string Número decimal serializado como texto.

`budgetMax` string Número decimal serializado como texto.

`preferredZones` string[]

`propertyTypes` string[]

`leadSource` string REFERRAL, PORTAL, SOCIAL, COLD, OTHER

`notes` string

`agentId` string

`contactId` string

`createdAt` string

`updatedAt` string

**`contact` id · firstName · lastName · phone**

`id` string

`firstName` string

`lastName` string

`phone` string `null` si el contacto llegó por un canal sin número (Instagram, Facebook, chat de la web, correo o WhatsApp con usuario y número oculto)

**`agent` id · firstName · lastName**

`id` string

`firstName` string

`lastName` string

**`stage` id · name · color**

`id` string

`name` string

`color` string

`stageOrder` integer

`otherPipelineCount` integer

**`nextAppointment` startTime · title**

`startTime` string

`title` string

**`nextAction` id · title · dueDate · type**

`id` string

`title` string

`dueDate` string

`type` string CALL, EMAIL, WHATSAPP, VISIT, MEETING, SEND_PROPOSAL

**`nextStep` Siguiente paso sugerido; `null` si el negocio no está abierto**

`kind` string

`group` string

`at` string

`overdue` boolean

`detail` string

`refId` string

`staleDays` 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/pipelines/clx1pip001" \
  -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.pipelines.get("clx1pip001");
```

Python:

```python
import os, requests

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

**Response · 200 · example**

```json
{
  "data": [
    {
      "id": "clx1stg002",
      "name": "Visita",
      "order": 1,
      "color": "#6366F1",
      "isDefault": false,
      "isWon": false,
      "isLost": false,
      "deals": [
        {
          "id": "clx1deal001",
          "code": "N-0031",
          "title": "Venta Apto Chapinero - María González",
          "value": "350000000.00",
          "currency": "COP",
          "probability": 40,
          "status": "OPEN",
          "closedAt": "2026-10-30T18:00:00.000Z",
          "expectedCloseDate": "2026-11-30T00:00:00.000Z",
          "lostReason": "Compró con otra inmobiliaria",
          "lostReasonCategory": "COMPETENCIA",
          "intent": "PURCHASE",
          "budgetMin": "300000000.00",
          "budgetMax": "400000000.00",
          "preferredZones": [
            "Chapinero"
          ],
          "propertyTypes": [
            "APARTMENT"
          ],
          "leadSource": "REFERRAL",
          "notes": "Pre-aprobada para crédito hipotecario.",
          "agentId": "clx1usr001",
          "contactId": "clx1con001",
          "createdAt": "2026-09-01T08:00:00.000Z",
          "updatedAt": "2026-09-25T16:45:00.000Z",
          "contact": {
            "id": "clx1con001",
            "firstName": "María",
            "lastName": "González",
            "phone": "+573001234567"
          },
          "agent": {
            "id": "clx1usr001",
            "firstName": "Carlos",
            "lastName": "Rodríguez"
          },
          "stage": {
            "id": "clx1stg002",
            "name": "Visita",
            "color": "#6366F1"
          },
          "stageOrder": 0,
          "otherPipelineCount": 0,
          "nextAppointment": {
            "startTime": "2026-10-02T15:00:00.000Z",
            "title": "Visita Apto Chapinero"
          },
  …
```
