Update settings
Changes what's given.
bearerAuthAuthorizationBearer <token>A secret API key from the dashboard: coss_live_… for production environments, coss_test_… for sandbox environments.
Coss-Version?"2026-10-10"The API version (a date) to use for this request. Defaults to your organization's version, pinned to the latest one when it first used the API and upgraded from the dashboard. The SDK always sends the version it was built for.
"2026-10-10"application/json- body
- body
- …
allowed_origins?array<>Sites allowed to embed coss.com's hosted pages and call the client API, as https://host origins.
items <= 10brand_name?|Your name on hosted pages and on emails sent from email_from. null removes it.
1 <= length <= 100accent_color?|The accent color as #RRGGBB. null restores the default.
^#[0-9a-fA-F]{6}$logo?|Your logo, a PNG or JPEG. null removes it.
privacy_url?|Your privacy policy, as an https URL, for hosts connecting a calendar through your own OAuth app. null removes it.
urilength <= 2000email_from?|Sender of booking emails, on a verified domain. null: coss.com's own address.
emaillength <= 320sms_from?|Your approved number for SMS reminders, in E.164. null: no SMS is sent.
^\+[1-9]\d{6,14}$calendar_failure_mode?stringWhen a host's calendar can't be read: hide stops offering them, last_known keeps offering their last known times.
"hide""last_known"name_host_in_attendee_emails?booleanName the new host when telling an attendee their booking has one.
host_reassignment?stringWhether hosts can give their own bookings to someone else from their page. eligible lets them, to anyone free who takes that event type.
"off""eligible"out_of_office_reasons?array<>|Reasons of your own, on top of the preset ones. Hosts and managers see them.
items <= 50notifications?|Per event (confirmed, pending_approval, rescheduled, cancelled, declined, reminder), overriding the defaults. null restores them.
email_reply_to?|Where replies go, for emails from email_from.
emaillength <= 320reminders?array<>|What goes out around a booking, unless an event type has its own. null goes back to a reminder a day before.
items <= 10The settings.
application/json- response
- response
- …
object*"scheduling.settings""scheduling.settings"allowed_origins*array<string>Sites allowed to embed coss.com's hosted pages and call the client API.
brand_name*|Your name on hosted pages and on emails sent from email_from. null: none set.
accent_color*|The accent color of hosted pages and emails sent from email_from, as #RRGGBB. null: the default.
logo*|At the top of the hosted pages, and of emails sent from email_from.
privacy_url*|Your privacy policy, linked on a host's page beside what connecting a calendar does, once this environment has its own OAuth app and a brand_name.
email_from*|Sender of booking emails, on a verified domain.
sms_from*|Your approved number for SMS reminders. Without one, no SMS is sent.
name_host_in_attendee_emails*booleanName the new host when telling an attendee their booking has one.
host_reassignment*stringWhether hosts can give their own bookings to someone else from their page. eligible lets them, to anyone free who takes that event type.
"off""eligible"out_of_office_reasons*array<>Reasons of your own for time away, on top of the preset ones.
calendar_failure_mode*stringWhen a host's calendar can't be read: hide stops offering them, last_known keeps offering their last known times.
"hide""last_known"notifications*|Per event, overriding the defaults.
email_reply_to*string|nullreminders*array<>|What goes out around a booking, unless an event type has its own. null: a reminder a day before, on the channels notifications.reminder chooses.
import { Coss } from "coss";const coss = new Coss({ apiKey: process.env.COSS_API_KEY, baseUrl: "https://api.coss.com",});const { data, error } = await coss.scheduling.settings.update({ brand_name: "Acme Health",});{ "object": "scheduling.settings", "allowed_origins": [ "https://app.example.com" ], "brand_name": "Acme Health", "accent_color": null, "logo": null, "privacy_url": null, "email_from": "appointments@example.com", "sms_from": null, "name_host_in_attendee_emails": false, "host_reassignment": "off", "out_of_office_reasons": [], "calendar_failure_mode": "hide", "notifications": { "reminder": { "sms_attendee": true } }, "email_reply_to": null, "reminders": null}