- Authenticate with your API key.
- List the venues you have access to.
- Fetch a venue’s profile.
- 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).
1. List the venues you have access to
id for the next steps. Cache this list — venue
metadata changes rarely.
2. Fetch a venue’s profile
opening_time / closing_time,
slot_interval and booking-policy fields — useful to render the venue page.
3. Fetch the treatment catalogue
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.