Listar contactos
GET
https://api.bydomu.com/v1/contactsThis reference is generated from the API’s code, so descriptions are in Spanish. Names, parameters and examples are the same in every language.
Contactos de la organización con filtros y paginación por página o por cursor (pageSize máximo 500). Los filtros que aceptan varios valores (status, source, type, tagIds) van separados por comas.
Permission required
contacts:read
Required header
X-API-Key · secret key
Access level
Level 2 · automatic on Inmobiliaria Pro
Query parameters
23 · all optionalsearchstring · optionalNombre, teléfono, correo o código
statusstring[] · optionalEstados, separados por comasNEW · CONTACTED · QUALIFIED · NEGOTIATING · WON · LOST · INACTIVE · nullable
archivedstring · optionaltrue para ver solo los archivadostrue · falsesourcestring[] · optionalFuentes de captación, separadas por comasWHATSAPP · METROCUADRADO · FINCARAIZ · WEBSITE · REFERRAL · WALK_IN · SOCIAL_MEDIA · PHONE · INMUEBLES24 · VIVANUNCIOS · LAMUDI · PROPIEDADES_COM · URBANIA · ADONDEVIVIR · PLUSVALIA · ZAP_IMOVEIS · VIVAREAL · OLX · IMOVELWEB · PORTAL_INMOBILIARIO · TOCTOC · ZONAPROP · ARGENPROP · OTHER · nullable
See the other 19 parameters
typestring[] · optionalTipos, separados por comasCLIENT · OWNER · BOTH · nullable
ownerIdstring · optionalAgente dueño del contacto
scoreMininteger · optionalPuntaje mínimo (0-100)0–100 · nullable
scoreMaxinteger · optionalPuntaje máximo (0-100)0–100 · nullable
createdAfterstring · optionalCreados desde esta fecha (ISO 8601)
createdBeforestring · optionalCreados hasta esta fecha (ISO 8601)
lastActivityBeforestring · optionalSin actividad desde esta fecha (ISO 8601): leads fríos
tagIdstring · optionalObsoleto: usa
tagIdstagIdsstring[] · optionalIDs de etiqueta, separados por comasnullable
hasDealsstring · optionalCon (
true) o sin (false) negociostrue · falseawaitingReplystring · optionaltrue: el cliente escribió de último en una conversación abiertatruerelationstring · optionalRelación viva con la inmobiliariaACTIVE · TENANT · OWNER · NEGOTIATING · TALKING
consentstring · optionalNO_DATA_CONSENT · DO_NOT_CONTACT
pageinteger · optionalPágina, desde 1default 1 · ≥ 1
pageSizeinteger · optionalContactos por página (máximo 500)default 20 · 1–500
cursorstring · optionalPaginación por cursor: el
meta.nextCursor de la respuesta anteriorincludeTotalboolean | string · optionalfalse para no contar el total (más rápido)sortBystring · optionalCampo de ordendefault "createdAt"
sortOrderstring · optionalDirección del ordenasc · desc · default "desc"
Response 200
ContactListItem[] · 36 fieldsdata[]id · 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 · tags · _count · relations · lastContact · openDeal
idstringcodestringCódigo legible del contactofirstNamestringlastNamestringemailstringphonestring`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)phone2stringsourcestringWHATSAPP, METROCUADRADO, FINCARAIZ, WEBSITE, REFERRAL, WALK_INstatusstringNEW, CONTACTED, QUALIFIED, NEGOTIATING, WON, LOSTtypestringCLIENT, OWNER, BOTHdocumentTypestringCC, CE, NIT, PASSPORT, DNI, RUCdocumentNumberstringscoreintegerPuntaje 0-100notesstringbudgetstringNúmero decimal serializado como texto.currencystringlookingForstringpreferredTypestringAPARTMENT, HOUSE, OFFICE, COMMERCIAL, LAND, WAREHOUSEpreferredCitystringpreferredNeighborhoodstringminBedroomsintegerminBathroomsintegerminAreanumberpreferredTransactionTypestringsubscribedToAlertsbooleanwhatsappOptInbooleanmarketingOptInbooleanownerIdstringAgente dueño del contactocreatedAtstringupdatedAtstringownerid · firstName · lastName
idstringfirstNamestringlastNamestringtags[]contactId · tagId · tag
contactIdstringtagIdstringtagid · name · color
idstringnamestringcolorstring_countdeals · whatsappMessages
dealsintegerwhatsappMessagesintegerrelationsstring[]TENANT, OWNER, NEGOTIATING, TALKINGlastContactat · channel
atstringchannelstringWHATSAPP, INSTAGRAM, FACEBOOK, SMS, EMAIL, WEBopenDealNegocio abierto más relevante del contacto
idstringtitlestringstageNamestringpositionintegercountintegerisWonbooleanpropertyTitlestringmetaPaginación por página (`page`) o por cursor (`cursor` = `nextCursor` de la respuesta anterior). Con cursor no se cuenta el total, que es lo más rápido para recorrer todo.
totalintegerTotal de registros. `null` al paginar con `cursor` o con `includeTotal=false`.pageintegerpageSizeintegertotalPagesinteger`null` cuando no se contó el total.nextCursorstringPásalo como `cursor` para pedir la página siguiente. `null` en la última.hasMorebooleanHay más registros después de esta página.Possible errors
shaped as{ "error": { "code", "message" } }- 400Datos inválidos: el cuerpo o la query no cumplen el esquema, o `Idempotency-Key` está mal formada.
- 401UNAUTHORIZED
- 403FORBIDDEN
- 429RATE_LIMITED
- 500INTERNAL_ERROR