Tools
Postman & Insomnia
Explore the Salonify API from your favorite API client. Import our ready-made Postman collection in one click, or point either tool at the live OpenAPI spec to generate a complete request set automatically.
Two ways in
X-API-Key header so you can send a request in seconds.Set up variables
Both the collection and the OpenAPI import use variables so you never hardcode secrets. Fill in these three:
Treat apiKey like a password
apiKey as a secret variable (Postman supports a secret type) and keep it in a private environment. Never commit an exported environment that contains a live key. See Authentication.Postman
Option A: import the collection
- Download the collection with the button above (
salonify-postman-collection.json). - In Postman, click Import (top left), then drop in the file or choose Upload Files.
- Open the new Salonify Public API collection, go to the Variables tab, and set
apiKeyandbusinessIdunder Current value. - Expand a folder (for example Services), open List services, and hit Send. You should get a
200with adataarray.
The collection includes bookings (list + create), services, staff, customers, products, availability, and gift cards (purchase + redeem). Create requests already carry an Idempotency-Key: {{$guid}} header so re-sending will not duplicate.
Option B: import the OpenAPI URL
- Click Import, choose the Link tab, and paste the spec URL below.
- Postman detects the OpenAPI document and offers to Generate a collection. Confirm.
- You get a full collection with every operation grouped by tag, plus a request-level
X-API-Keysecurity scheme. Set your variables and send.
https://api.salonify.eu/api/v1/openapi.jsonInsomnia
Insomnia imports OpenAPI documents natively and turns them into a browsable request collection with environment variables.
- In Insomnia, open the Create menu (or the dashboard) and choose Import.
- Select URL and paste the OpenAPI spec URL below, then confirm.
- Insomnia generates a collection (or design document) with all operations. Open Manage Environments and add an environment with
apiKeyandbusinessId. - Add a request header
X-API-Key: {{ _.apiKey }}at the folder or collection level so every request inherits it. - Send any request to confirm a
200response.
https://api.salonify.eu/api/v1/openapi.jsonPostman collection in Insomnia too
salonify-postman-collection.json. The {{baseUrl}} and {{apiKey}} variables map to Insomnia environment values.Troubleshooting
- 401 Unauthorized: the
apiKeyvariable is empty or wrong. Confirm you set the Current value, not just the initial value. - 403 Forbidden: your key lacks the scope for that endpoint. Grant the required scope when creating the key. See the badge on each reference page.
- 404 Not Found: check that
businessIdmatches the business your key belongs to. - 429 Too Many Requests: you hit the rate limit. Read
Retry-Afterand back off. See Rate Limits.
Prefer to read the spec interactively? Use the API Explorer, or grab a copy-paste client from SDKs.