---
title: "Update Org Settings"
method: PATCH
path: "/appointments/org-settings"
tags: ["Appointments"]
---

# Update Org Settings

`PATCH /appointments/org-settings`

## Request

- Base URL: `https://be.graph8.com/api/v1`
- URL: `https://be.graph8.com/api/v1/appointments/org-settings`
- Auth: HTTP bearer

Change the booking page's branding. Admin keys only.

Only what you send is written. This is what a PROSPECT sees, so a wrong
value here is visible outside the organisation rather than inside it.

## Headers

- `Authorization` string, nullable
- `X-Target-Org-Id` string, nullable

## Request body

- UpdateOrgSettingsRequest: Branding for the public booking page. CLOSED, mirroring the app: these land in a JSONB configuration column and the app forbids extra keys so nothing can be smuggled into it. `logo_url` is an `HttpUrl` because the app's is - typed `str` here it would pass this layer and then fail inside the proxy as a 500.
  - `logo_url` string, uri, nullable
  - `brand_color` string, nullable: Six-digit hex including the leading `#`, e.g. `#1a2b3c`.
  - `booking_page_theme` 'light' | 'dark' | 'auto', nullable
  - `hide_branding` boolean, nullable: Remove the graph8 mark from the booking page.

## Response `200`

Successful Response

- ApiResponseSchedulingPayload
  - `data` SchedulingPayload, required: An open envelope for a filter, a setting, an embed config or a slot grid. Open because org settings gain branding fields as the booking page does and the embed config gains styling keys as the widget does. Closing it would drop a field the app had already started returning.
  - `pagination` PaginationMeta
    - `page` integer, required: Current page number (1-indexed)
    - `limit` integer, required: Items per page
    - `total` integer, required: Total number of items
    - `has_next` boolean, required: Whether there are more pages
    - `next_cursor` string, nullable: Opaque cursor for the next page; null when there are no more items. Pass it back as the `cursor` query param to fetch the following page without computing page numbers.
    - `total_available` integer, nullable: Search endpoints only: how many records really match, when known. Can be larger than `total`, which is capped at the 10,000 results that can be paged. For company search this is a distinct-company estimate. Null when unknown; absent outside search.
    - `total_is_lower_bound` boolean, nullable: Search endpoints only: true when more records match than `total` shows (the result set is larger than the 10,000 results that can be paged). Absent outside search.
    - `notes` string[], nullable: Search endpoints only: plain-language notes about the result, e.g. that more records match than can be paged, or that a reversed `between` range was put in order.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/graph8/apis/graph8-developer-api.md) · [All operations](https://skmtc.dev/graph8/apis/graph8-developer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/graph8/apis/graph8-developer-api/revisions/2e7cfa0ca921?raw)
