ByDomuDevelopers

Configuración del portal

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

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

Devuelve la configuración del portal principal de la organización: plantilla, tema, secciones visibles y configuración del buscador. Si la organización aún no tiene portal responde valores por defecto con isEnabled: false.

Permission required

portal:read

Required header

X-API-Key · publishable or secret key

Access level

Level 1 · no request

Response 200

Portal · 20 fields
dataConfiguración del portal principal. Si la organización no tiene portal, llega un objeto por defecto con `isEnabled: false`, `template`, `themeConfig`, `showFeaturedSection`, `showAboutSection`, `showMapSection`, `showFinderSection` y `finderConfig`.
idstring
isEnabledbooleanPortal publicado
slugstring
isDefaultboolean
kindstringPortal de Domu o sitio externo propio
themePublishedanyTema publicado (colores, tipografía, secciones)
logoUrlstring
faviconUrlstring
coverImageUrlstring
contactEmailstring
contactPhonestring
contactWhatsappstring
contactAddressstring
facebookUrlstring
instagramUrlstring
customDomainstring
customDomainVerifiedboolean
publishedAtstring
createdAtstring
updatedAtstring

Possible errors

shaped as { "error": { "code", "message" } }
  • 401UNAUTHORIZED
  • 403FORBIDDEN
  • 429RATE_LIMITED
  • 500INTERNAL_ERROR
RequestGET/v1/portal
Official SDK · @bydomu/sdk · not on npm yet
import { ByDomu } from "@bydomu/sdk";

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

const { data } = await bydomu.portal.get();
200 OK · example
{
  "data": {
    "id": "clx1por001",
    "isEnabled": true,
    "slug": "inmobiliaria-andes",
    "isDefault": true,
    "kind": "MANAGED",
    "themePublished": {
      "primaryColor": "#0F766E"
    },
    "logoUrl": "https://cdn.bydomu.com/logos/andes.png",
    "faviconUrl": "https://cdn.bydomu.com/logos/andes-favicon.png",
    "coverImageUrl": "https://cdn.bydomu.com/covers/andes.jpg",
    "contactEmail": "[email protected]",
    "contactPhone": "+576015551234",
    "contactWhatsapp": "+573001234567",
    "contactAddress": "Cra 7 #45-12, Bogotá",
    "facebookUrl": "https://facebook.com/inmobiliariaandes",
    "instagramUrl": "https://instagram.com/inmobiliariaandes",
    "customDomain": "www.inmobiliariaandes.co",
    "customDomainVerified": true,
    "publishedAt": "2026-06-01T12:00:00.000Z",
    "createdAt": "2026-01-10T15:00:00.000Z",
    "updatedAt": "2026-09-01T09:30:00.000Z"
  }
}