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

# GET /v1/config

> Returns the widget display and behavior settings for your brokerage.

## Request

```bash theme={null}
curl -H "X-ARIS-API-Key: aris_yourkey" \
  "https://dqgynnlsclfbqysauesf.supabase.co/functions/v1/api-router/v1/config"
```

No query parameters needed — the brokerage is determined from your API key.

## Response

<Expandable title="Response fields">
  <ResponseField name="primaryColor" type="string">Hex color for the widget theme.</ResponseField>
  <ResponseField name="secondaryColor" type="string">Secondary hex color.</ResponseField>
  <ResponseField name="logoUrl" type="string">Brokerage logo URL.</ResponseField>
  <ResponseField name="brokerageName" type="string">Display name.</ResponseField>
  <ResponseField name="greetingMessage" type="string">First message shown to visitors.</ResponseField>
  <ResponseField name="buttonStyle" type="string">`rounded`, `square`, or `pill`.</ResponseField>
  <ResponseField name="chatPosition" type="string">`bottom-right` or `bottom-left`.</ResponseField>
  <ResponseField name="title" type="string">Widget header title.</ResponseField>
  <ResponseField name="subtitle" type="string">Widget header subtitle.</ResponseField>
  <ResponseField name="buttonText" type="string">Toggle button label.</ResponseField>
  <ResponseField name="avatarEnabled" type="boolean">Whether HeyGen AI avatar is enabled.</ResponseField>
  <ResponseField name="avatarId" type="string">HeyGen avatar ID.</ResponseField>
  <ResponseField name="voiceId" type="string">HeyGen voice ID.</ResponseField>
</Expandable>

```json Example response theme={null}
{
  "primaryColor": "#1e3a8a",
  "secondaryColor": "#06b6d4",
  "logoUrl": "https://example.com/logo.png",
  "brokerageName": "Acme Realty",
  "greetingMessage": "Hi! How can I help you find your perfect home today?",
  "buttonStyle": "rounded",
  "chatPosition": "bottom-right",
  "title": "Acme Realty Assistant",
  "subtitle": "here to find your next home",
  "buttonText": "Chat with AI",
  "avatarEnabled": false,
  "avatarId": null,
  "voiceId": null
}
```
