# Configuración del portal

GET `https://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

**`data` Configuració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`.**

`id` string

`isEnabled` boolean Portal publicado

`slug` string

`isDefault` boolean

`kind` string Portal de Domu o sitio externo propio

`themePublished` any Tema publicado (colores, tipografía, secciones)

`logoUrl` string

`faviconUrl` string

`coverImageUrl` string

`contactEmail` string

`contactPhone` string

`contactWhatsapp` string

`contactAddress` string

`facebookUrl` string

`instagramUrl` string

`customDomain` string

`customDomainVerified` boolean

`publishedAt` string

`createdAt` string

`updatedAt` string

## Possible errors

shaped as `{ "error": { "code", "message" } }`

- **401** UNAUTHORIZED
- **403** FORBIDDEN
- **429** RATE_LIMITED
- **500** INTERNAL_ERROR

cURL:

```bash
curl "https://api.bydomu.com/v1/portal" \
  -H "X-API-Key: $BYDOMU_API_KEY"
```

JavaScript:

```js
import { ByDomu } from "@bydomu/sdk";

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

const { data } = await bydomu.portal.get();
```

Python:

```python
import os, requests

r = requests.get(
    "https://api.bydomu.com/v1/portal",
    headers={"X-API-Key": os.environ["BYDOMU_API_KEY"]}
)
data = r.json()
```

**Response · 200 · example**

```json
{
  "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": "hola@inmobiliariaandes.co",
    "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"
  }
}
```
