> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Published config for the loader

> Served by the widget admin server. Returns { settings: <published config> } for siteId; 204 when the site has no published config.

Served by the widget admin server. Returns `&#123; settings: &lt;published config> &#125;` for `siteId`; `204` when the site has no published config.

### Query parameters

**siteId** `string`

Site id

### Response

`Settings`

**settings** `object`

**settings**

**companyName** `string`

**messageEndpoint** `string`

**theme** `object`

**theme**

**primary** `string`

**secondary** `string`

**text** `string`

**accent** `string`

**hover** `string`

**updated\_at** `string (date-time)`

### Status codes

| Code | Meaning |
| - | - |
| `200` | OK |

```bash cURL theme={null}
curl --request GET \
  --url 'https://api.example.com/api/widget/settings'
```

```json 200 theme={null}
{
  "settings": {
    "companyName": "Acme Outdoors",
    "messageEndpoint": "string",
    "theme": {
      "primary": "string",
      "secondary": "string",
      "text": "Two-person tent, green — replacement for damaged pole set.",
      "accent": "string",
      "hover": "string"
    }
  },
  "updated_at": "2026-08-31T14:22:05Z"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.