ByDomuDevelopers

Detalle de contacto

GEThttps://api.bydomu.com/v1/contacts/{id}

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.

Ficha completa: dueño, últimos 5 negocios, etiquetas, relaciones con otros contactos, origen, negocio abierto y enlaces compartidos. Nunca incluye mensajes ni el token del portal del comprador.

Permissão pedida

contacts:read

Cabeçalho obrigatório

X-API-Key · chave secreta

Nível de acesso

Nível 2 · automático na Inmobiliaria Pro

Parâmetros de rota

1 · obrigatórios
idstring · obrigatório
ID del contacto

Resposta 200

ContactDetail · 39 campos
dataid · code · firstName · lastName · email · phone · phone2 · source · status · type · documentType · documentNumber · score · notes · budget · currency · lookingFor · preferredType · preferredCity · preferredNeighborhood · minBedrooms · minBathrooms · minArea · preferredTransactionType · subscribedToAlerts · whatsappOptIn · marketingOptIn · ownerId · createdAt · updatedAt · owner · deals · tags · buyerPortal · relationsFrom · relationsTo · origin · openDeal · sharedLinks
idstring
codestringCódigo legible del contacto
firstNamestring
lastNamestring
emailstring
phonestring`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)
phone2string
sourcestringWHATSAPP, METROCUADRADO, FINCARAIZ, WEBSITE, REFERRAL, WALK_IN
statusstringNEW, CONTACTED, QUALIFIED, NEGOTIATING, WON, LOST
typestringCLIENT, OWNER, BOTH
documentTypestringCC, CE, NIT, PASSPORT, DNI, RUC
documentNumberstring
scoreintegerPuntaje 0-100
notesstring
budgetstringNúmero decimal serializado como texto.
currencystring
lookingForstring
preferredTypestringAPARTMENT, HOUSE, OFFICE, COMMERCIAL, LAND, WAREHOUSE
preferredCitystring
preferredNeighborhoodstring
minBedroomsinteger
minBathroomsinteger
minAreanumber
preferredTransactionTypestring
subscribedToAlertsboolean
whatsappOptInboolean
marketingOptInboolean
ownerIdstringAgente dueño del contacto
createdAtstring
updatedAtstring
ownerid · firstName · lastName · email
idstring
firstNamestring
lastNamestring
emailstring
deals[]Últimos 5 negocios
idstring
titlestring
statusstringOPEN, WON, LOST
valuestringNúmero decimal serializado como texto.
placements[]stage · pipeline
stageobject
pipelineobject
tags[]contactId · tagId · tag
contactIdstring
tagIdstring
tagid · name · color
idstring
namestring
colorstring
buyerPortalPortal del comprador, sin su token de acceso
idstring
isActiveboolean
lastAccessedAtstring
expiresAtstring
createdAtstring
relationsFrom[]id · type · notes · toContact
idstring
typestring
notesstring
toContactid · firstName · lastName · phone · email · type · score
idstring
firstNamestring
lastNamestring
phonestring`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)
emailstring
typestringCLIENT, OWNER, BOTH
scoreinteger
relationsTo[]id · type · notes · fromContact
idstring
typestring
notesstring
fromContactid · firstName · lastName · phone · email · type · score
idstring
firstNamestring
lastNamestring
phonestring`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)
emailstring
typestringCLIENT, OWNER, BOTH
scoreinteger
originDe dónde llegó el contacto
kindstringweb_form, web_finder, web_chat, web_whatsapp, shared_link, domu_catalog
atstring
propertyid · title
idstring
titlestring
openDealNegocio abierto más relevante del contacto
idstring
titlestring
stageNamestring
positioninteger
countinteger
isWonboolean
propertyTitlestring
sharedLinks[]Enlaces de propiedades compartidos con el contacto (hasta 20)
idstring
createdAtstring
viewCountinteger
lastViewedAtstring
propertyid · title
idstring
titlestring

Erros possíveis

com a forma { "error": { "code", "message" } }
  • 401UNAUTHORIZED
  • 403FORBIDDEN
  • 404NOT_FOUND
  • 429RATE_LIMITED
  • 500INTERNAL_ERROR
RequisiçãoGET/v1/contacts/{id}
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.contacts.get("clx1con001");
200 OK · exemplo
{
  "data": {
    "id": "clx1con001",
    "code": "C-0107",
    "firstName": "María",
    "lastName": "González",
    "email": "[email protected]",
    "phone": "+573001234567",
    "phone2": "+573109876543",
    "source": "WHATSAPP",
    "status": "NEW",
    "type": "CLIENT",
    "documentType": "CC",
    "documentNumber": "1020304050",
    "score": 75,
    "notes": "Busca apartamento cerca al trabajo.",
    "budget": "350000000.00",
    "currency": "COP",
    "lookingFor": "Apartamento de 3 habitaciones",
    "preferredType": "APARTMENT",
    "preferredCity": "Bogotá",
    "preferredNeighborhood": "Chapinero",
    "minBedrooms": 3,
    "minBathrooms": 2,
    "minArea": 70,
    "preferredTransactionType": "SALE",
    "subscribedToAlerts": true,
    "whatsappOptIn": true,
    "marketingOptIn": false,
    "ownerId": "clx1usr001",
    "createdAt": "2026-01-15T14:30:00.000Z",
    "updatedAt": "2026-09-20T09:15:00.000Z",
    "owner": {
      "id": "clx1usr001",
      "firstName": "Carlos",
      "lastName": "Rodríguez",
      "email": "[email protected]"
    },
    "deals": [
      {
        "id": "clx1deal001",
        "title": "Venta Apto Chapinero",
        "status": "OPEN",
        "value": "350000000.00",
        "placements": [
          {
            "stage": {
              "id": "clx1stg002",
              "name": "Visita",
              "color": "#6366F1"
            },
            "pipeline": {
              "id": "clx1pip001",
              "name": "Ventas"
            }
          }
        ]
      }
    ],
    "tags": [
  …