Skip to main content
This guide walks through the endpoints available today:
  1. Authenticate with your API key.
  2. List the venues you have access to.
  3. Fetch a venue’s profile.
  4. Fetch a venue’s treatment catalogue.
Real-time availability and booking creation are coming soon. Until they ship, this API is read-only (venues + treatments).

Prerequisites

  • An API key provisioned by the Saoma team (sk_live_…).
  • Node.js 20+ (examples below use fetch, available natively).
Export your key and the base URL once for the whole session:

1. List the venues you have access to

Pick a venue and keep its id for the next steps. Cache this list — venue metadata changes rarely.

2. Fetch a venue’s profile

The detail shape includes the venue’s opening_time / closing_time, slot_interval and booking-policy fields — useful to render the venue page.

3. Fetch the treatment catalogue

Each treatment carries its variants (durations, guest counts, prices). Remember prices are decimal amounts in the treatment’s currency (e.g. 120.00 for 120 €), not cents.

Putting it together (Node.js)

You’re done 🎉

Next steps:

Error handling

Learn the error format and retry strategy.

Rate limits

Understand quotas and caching best practices.