---
title: "Get widget configuration for a clinic"
method: GET
path: "/public/widget/clinics/{clinicId}/config"
tags: ["Widget"]
---

# Get widget configuration for a clinic

`GET /public/widget/clinics/{clinicId}/config`

## Path parameters

- `clinicId` string, required

## Response `200`

OK

- WidgetConfigDto
  - `clinicId` string
  - `clinicName` string
  - `enabled` boolean
  - `timezone` string — IANA timezone for the clinic (e.g., "America/New_York"). Frontend should use this to display times in the clinic's local timezone.
  - `features` WidgetFeaturesDto
    - `chatEnabled` boolean
    - `bookingEnabled` boolean
    - `portalEnabled` boolean
  - `branding` WidgetBrandingDto
    - `primaryColor` string
    - `logoUrl` string, nullable
  - `chatSettings` WidgetChatSettingsDto
    - `welcomeMessage` string
    - `operatingHoursStart` string, nullable
    - `operatingHoursEnd` string, nullable
    - `timezone` string, nullable
  - `allowedDomains` string[], nullable
  - `bookingPolicy` WidgetBookingPolicyDto
    - `minAdvanceBookingHours` union
      - integer
      - string, int32
    - `maxAdvanceBookingDays` union
      - integer
      - string, int32
    - `minCancellationNoticeHours` union
      - integer
      - string, int32
    - `defaultAppointmentTypeId` string, nullable — Appointment type the widget should book by default. Drives location-intent filtering and slot duration. Null means the clinic hasn't configured one, in which case the widget should treat booking as unavailable.
    - `defaultAppointmentTypeName` string, nullable — Display name of the default appointment type, surfaced in confirmation copy.

## Other responses

- `404` — Not Found

---

[API](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1.md) · [All operations](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clinicos/pawthosx-business-api-v1/revisions/e7d381a5453b/schema)
