ByDomuDevelopers

Listar pipelines

GEThttps://api.bydomu.com/v1/pipelines

Esta referência é gerada a partir do código da API, por isso as descrições estão em espanhol. Nomes, parâmetros e exemplos são iguais em qualquer idioma.

Pipelines de la organización con sus etapas en orden y la cantidad de negocios en cada una.

Permissão pedida

deals:read

Cabeçalho obrigatório

X-API-Key · chave secreta

Nível de acesso

Nível 2 · automático na Inmobiliaria Pro

Resposta 200

Pipeline[] · 9 campos
data[]id · name · description · isDefault · order · createdAt · updatedAt · _count · stages
idstring
namestring
descriptionstring
isDefaultboolean
orderinteger
createdAtstring
updatedAtstring
_countstages
stagesinteger
stages[]id · name · order · color · isDefault · isWon · isLost · probability · maxDaysInStage · alertAfterDays · pipelineId · _count
idstring
namestring
orderinteger
colorstring
isDefaultboolean
isWonboolean
isLostboolean
probabilityintegerProbabilidad de cierre que hereda el negocio (0-100)
maxDaysInStageinteger
alertAfterDaysinteger
pipelineIdstring
_countplacements
placementsintegerNegocios en la etapa

Erros possíveis

com a forma { "error": { "code", "message" } }
  • 401UNAUTHORIZED
  • 403FORBIDDEN
  • 429RATE_LIMITED
  • 500INTERNAL_ERROR
RequisiçãoGET/v1/pipelines
SDK oficial · @bydomu/sdk · ainda não está no npm
import { ByDomu } from "@bydomu/sdk";

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

const { data } = await bydomu.pipelines.list();
200 OK · exemplo
{
  "data": [
    {
      "id": "clx1pip001",
      "name": "Ventas",
      "description": "Pipeline principal de ventas",
      "isDefault": true,
      "order": 0,
      "createdAt": "2025-06-01T10:00:00.000Z",
      "updatedAt": "2026-03-01T12:00:00.000Z",
      "_count": {
        "stages": 5
      },
      "stages": [
        {
          "id": "clx1stg001",
          "name": "Contacto inicial",
          "order": 0,
          "color": "#6366F1",
          "isDefault": true,
          "isWon": false,
          "isLost": false,
          "probability": 10,
          "maxDaysInStage": 7,
          "alertAfterDays": 5,
          "pipelineId": "clx1pip001",
          "_count": {
            "placements": 14
          }
        }
      ]
    }
  ]
}