# Get the site payload

**Publié le** : 2026-05-12
**Catégorie** : Pages & Site Blocks

## `GET /site`

**Get the site payload**

Public site metadata: name, domain, locale settings, i18n
configuration, branding posture, analytics consent mode. Use this
once at app boot to seed locale handling and analytics consent
before rendering any content.

### Responses

| Status | Description |
| --- | --- |
| `200` | Successful response |


> **Notes:** Cache: `Cache-Control: public, max-age=300`. Rate-limit bucket: general.

### Examples

```curl
curl "https://api.lynkow.com/public/{siteId}/site"
```

```javascript
const res = await fetch(`https://api.lynkow.com/public/${siteId}/site`)
const { data } = await res.json()
```

### Response Example

```json
"{\n  \"data\": {\n    \"id\": \"c3bc8a0a-7820-4945-b174-5c9328b98719\",\n    \"name\": \"Acme Documentation\",\n    \"domain\": \"docs.acme.io\",\n    \"description\": \"Public docs for the Acme platform.\",\n    \"logoUrl\": \"https://cdn.lynkow.com/sites/acme/logo.svg\",\n    \"faviconUrl\": \"https://cdn.lynkow.com/sites/acme/favicon.ico\",\n    \"timezone\": \"Europe/Paris\",\n    \"defaultLocale\": \"en\",\n    \"enabledLocales\": [\"en\", \"fr\", \"de\"],\n    \"i18n\": {\n      \"enabled\": true,\n      \"locales\": [\n        { \"code\": \"en\", \"name\": \"English\", \"flag\": \"GB\" },\n        { \"code\": \"fr\", \"name\": \"Francais\", \"flag\": \"FR\" },\n        { \"code\": \"de\", \"name\": \"Deutsch\", \"flag\": \"DE\" }\n      ],\n      \"detection\": { \"url\": true, \"header\": true, \"cookie\": true },\n      \"cookieName\": \"lynkow_locale\",\n      \"fallbackLocale\": \"en\"\n    },\n    \"showBranding\": true,\n    \"analytics\": { \"consentMode\": \"opt-in\" }\n  }\n}\n"
```

---