Retrieve settings
The environment's scheduling settings.
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"The 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.get();{ "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}