Search docs ⌘K
esc
Type to search across all documentation pages
Booking

Settings

Configure booking module behavior per project. Settings control timezone, slot duration, buffer times, and booking defaults. All routes live under /modules/booking/* and require a token with booking:read or booking:write scope.

Get booking settings

GET
/modules/booking/settings
booking:read

Get or create default booking settings.

curl
curl https://api.saasignal.saastemly.com/modules/booking/settings \
  -H "Authorization: Bearer sk_live_..."
json — 200 OK
{ "status": "ok" }
Error responses
401 Unauthorized
402 Insufficient tokens
429 Rate limited

Update booking settings

PATCH
/modules/booking/settings
booking:admin

Update booking settings.

curl
curl -X PATCH https://api.saasignal.saastemly.com/modules/booking/settings \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{}'
json — 200 OK
{ "status": "ok" }
Body field
Type
Description
timezone
string
1–64 chars
slot_duration_minutes
integer
range ≥5 .. ≤480
auto_confirm
boolean
buffer_minutes
integer
range ≥0 .. ≤120
max_advance_days
integer
range ≥1 .. ≤365
min_advance_minutes
integer
range ≥0 .. ≤10080
cancellation_policy_hours
integer
range ≥0 .. ≤720
booking_number_prefix
string
1–10 chars
Error responses
401 Unauthorized
402 Insufficient tokens
429 Rate limited