ByDomuDevelopers

Perfil de agente

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

Perfil de un miembro de la organización con sus propiedades publicadas en el portal.

Permiso que pide

portal:read

Encabezado obligatorio

X-API-Key · clave publicable o secreta

Nivel de acceso

Nivel 1 · sin solicitud

Parámetros de ruta

1 · obligatorios
idstring · obligatorio
ID del usuario (agente)

Respuesta 200

PortalAgentProfile · 2 campos
dataagent · properties
agentid · firstName · lastName · avatarUrl · bio · phone · email
idstring
firstNamestring
lastNamestring
avatarUrlstring
biostring
phonestring
emailstring
properties[]id · code · title · description · type · transactionType · rentalServiceType · status · price · rentPrice · currency · adminFee · securityDeposit · neighborhood · city · state · country · bedrooms · bathrooms · halfBathrooms · parkingSpots · area · builtArea · floor · stratum · yearBuilt · elevator · petFriendly · furnished · amenities · virtualTourUrl · videoUrl · tour3dUrl · isFeatured · viewCount · agentId · createdAt · updatedAt · latitude · longitude · address · zipCode · locationPrecision · images · tourScenes · agent · tourManifest
idstring
codestringCódigo legible de la propiedad
titlestring
descriptionstring
typestringAPARTMENT, HOUSE, OFFICE, COMMERCIAL, LAND, WAREHOUSE
transactionTypestringSALE, RENT, SALE_OR_RENT
rentalServiceTypestringBROKERAGE, MANAGEMENT
statusstringDRAFT, ACTIVE, RESERVED, SOLD, RENTED, INACTIVE
pricestringPrecio de venta, o canon si es solo arriendo. Número decimal serializado como texto.
rentPricestringCanon mensual, solo en SALE_OR_RENT. Número decimal serializado como texto.
currencystring
adminFeestringAdministración mensual. Número decimal serializado como texto.
securityDepositstringNúmero decimal serializado como texto.
neighborhoodstring
citystring
statestring
countrystring
bedroomsinteger
bathroomsinteger
halfBathroomsinteger
parkingSpotsinteger
areanumberÁrea en m²
builtAreanumberÁrea construida en m²
floorinteger
stratumintegerEstrato socioeconómico (1-6)
yearBuiltinteger
elevatorboolean
petFriendlyboolean
furnishedstringUNFURNISHED, SEMI_FURNISHED, FURNISHED
amenitiesanyIDs de amenidades
virtualTourUrlstring
videoUrlstring
tour3dUrlstring
isFeaturedboolean
viewCountinteger
agentIdstring
createdAtstring
updatedAtstring
latitudenumberRedondeada a 2 decimales si la ubicación es aproximada
longitudenumberRedondeada a 2 decimales si la ubicación es aproximada
addressstring`null` si la ubicación es aproximada
zipCodestring`null` si la ubicación es aproximada
locationPrecisionstringEXACT, APPROXIMATE
images[]id · url · thumbUrl · order · isPrimary · caption · isVirtualStaging · propertyId
idstring
urlstring
thumbUrlstring
orderinteger
isPrimaryboolean
captionstring
isVirtualStagingboolean
propertyIdstring
tourScenes[]id · imageUrl · thumbUrl · label · order
idstring
imageUrlstring
thumbUrlstring
labelstring
orderinteger
agentid · firstName · lastName · avatarUrl · phone · email
idstring
firstNamestring
lastNamestring
avatarUrlstring
phonestring
emailstring
tourManifestManifiesto del recorrido virtual (escenas, plano, modelo 3D y calidad).
versionnumber1
modelUrlstring
scenesobject[]
qualityobject

Errores posibles

con la forma { "error": { "code", "message" } }
  • 401UNAUTHORIZED
  • 403FORBIDDEN
  • 404NOT_FOUND
  • 429RATE_LIMITED
  • 500INTERNAL_ERROR
PeticiónGET/v1/agents/{id}
SDK oficial · @bydomu/sdk · aún no está en npm
import { ByDomu } from "@bydomu/sdk";

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

const { data } = await bydomu.agents.get("clx1usr001");
200 OK · ejemplo
{
  "data": {
    "agent": {
      "id": "clx1usr001",
      "firstName": "Carlos",
      "lastName": "Rodríguez",
      "avatarUrl": "https://cdn.bydomu.com/avatars/carlos.jpg",
      "bio": "Asesor con 10 años en el mercado de Bogotá.",
      "phone": "+573001234567",
      "email": "[email protected]"
    },
    "properties": [
      {
        "id": "clx1prop001",
        "code": "P-0042",
        "title": "Apartamento en Chapinero con vista",
        "description": "Apartamento de 85 m² con balcón y vista a los cerros.",
        "type": "APARTMENT",
        "transactionType": "SALE",
        "rentalServiceType": "BROKERAGE",
        "status": "DRAFT",
        "price": "450000000.00",
        "rentPrice": "3500000.00",
        "currency": "COP",
        "adminFee": "380000.00",
        "securityDeposit": "3500000.00",
        "neighborhood": "Chapinero",
        "city": "Bogotá",
        "state": "Cundinamarca",
        "country": "CO",
        "bedrooms": 3,
        "bathrooms": 2,
        "halfBathrooms": 1,
        "parkingSpots": 1,
        "area": 85,
        "builtArea": 80,
        "floor": 8,
        "stratum": 4,
        "yearBuilt": 2015,
        "elevator": true,
        "petFriendly": true,
        "furnished": "UNFURNISHED",
        "amenities": [
          "pool"
        ],
        "virtualTourUrl": "https://my.matterport.com/show/?m=abc123",
        "videoUrl": "https://youtu.be/abc123",
        "tour3dUrl": "https://cdn.bydomu.com/tours/clx1prop001/model.splat",
        "isFeatured": false,
        "viewCount": 128,
        "agentId": "clx1usr001",
        "createdAt": "2026-08-01T14:30:00.000Z",
        "updatedAt": "2026-09-20T10:00:00.000Z",
        "latitude": 4.6486,
        "longitude": -74.0628,
        "address": "Cra 7 #45-12",
        "zipCode": "110231",
        "locationPrecision": "EXACT",
        "images": [
          {
  …