> ## 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.

# Tenant settings (optional)

> Fetched when settingsEndpoint is set. Send Authorization: ApiKey <key> (or Bearer <key>); x-api-key is also accepted.

Fetched when `settingsEndpoint` is set. Send `Authorization: ApiKey &lt;key>` (or `Bearer &lt;key>`); `x-api-key` is also accepted.

### 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 |
| `400` | Error |
| `401` | Error |

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

```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.