> For the complete Lynkow documentation index in agent-friendly format, see [llms.txt](/llms.txt).

# Get the site configuration

**Published**: 2026-11-30
**Category**: Pages & Site Blocks

## `GET /site-config`

**Get the site configuration**

Returns what a front end needs at boot to render its header, footer
and navigation: a `site` subset of `GET /site`, the resolved
`locale`, and every published global block keyed by slug under
`globals`. `site.showBranding` is the effective badge visibility.
With `locale`, a missing translation is served from the next locale
of the site's chain.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `locale` | query | string | No | BCP 47 locale code (e.g. "en", "fr") |
| `fallback` | query | boolean (default true) | No | With `locale`, `false` leaves out the global blocks not translated into the requested locale. Single-language sites ignore it |


### Responses

| Status | Description |
| --- | --- |
| `200` | Successful response |
| `402` | The site subscription does not currently permit this operation |
| `422` | Validation error |


> **Notes:** Sets `ETag` and `Cache-Control: public, max-age=0`, `s-maxage` 300 at
> most. A block may carry `_warnings` after a partial data-source
> failure.

### SDK

```typescript
import { createClient } from 'lynkow'

const lynkow = createClient({ siteId: process.env.LYNKOW_SITE_ID! })

const result = await lynkow.blocks.siteConfig()
```

### Examples

```curl
curl "https://api.lynkow.com/storefront/{siteId}/site-config?locale=en"
```

```javascript
const res = await fetch(`https://api.lynkow.com/storefront/${siteId}/site-config?locale=en`)
const { data } = await res.json()
```

### Response Example

```json
{
  "data": {
    "site": {
      "name": "Acme Documentation",
      "domain": "docs.acme.io",
      "logo": "https://cdn.lynkow.com/sites/acme/logo.svg",
      "favicon": "https://cdn.lynkow.com/sites/acme/favicon.ico",
      "showBranding": true,
      "defaultLocale": "en",
      "enabledLocales": [
        "en",
        "fr",
        "de"
      ],
      "analytics": {
        "consentMode": "opt-in"
      }
    },
    "locale": "en",
    "globals": {
      "main-nav": {
        "slug": "main-nav",
        "name": "Main navigation",
        "data": {
          "items": [
            {
              "label": "Pricing",
              "href": "/pricing"
            }
          ]
        }
      },
      "footer": {
        "slug": "footer",
        "name": "Footer",
        "data": {
          "copyright": "(c) 2026 Acme Inc.",
          "social": {
            "twitter": "@acme"
          }
        }
      }
    }
  }
}
```

---