API Reference

Analytics

Pull aggregated, read-only reporting across every salon you own. These cross-salon reports power the owner dashboard: bookings and revenue overviews, staff performance, and consolidated subscription invoices.

Scope and plan

Analytics is read-only and requires the analytics:read scope. API keys are available on the PRO and ENTERPRISE plans. Reports cover the businesses the key's owner has access to; narrow with businessIds.

Bookings and revenue overview

GET/businesses/cross-salon/overview
analytics:readPRO plan

Query parameters

NameTypeRequiredDescription
fromstringOptionalISO datetime lower bound.
tostringOptionalISO datetime upper bound.
businessIdsstringOptionalComma-separated business ids to include.
curl "https://api.salonify.eu/api/v1/businesses/cross-salon/overview?from=2026-06-01&to=2026-07-01" \
  -H "X-API-Key: sk_live_..."
{
  "totals": { "bookings": 642, "revenue": 28940, "currency": "EUR" },
  "byBusiness": [
    { "businessId": "b_8f3a", "name": "Studio Centre", "bookings": 410, "revenue": 19200 },
    { "businessId": "b_2c19", "name": "Studio Kirchberg", "bookings": 232, "revenue": 9740 }
  ],
  "daily": [
    { "date": "2026-06-01", "bookings": 22, "revenue": 980 }
  ]
}

Staff performance

GET/businesses/cross-salon/staff-performance
analytics:readPRO plan

Query parameters

NameTypeRequiredDescription
fromstringOptionalISO datetime lower bound.
tostringOptionalISO datetime upper bound.
businessIdsstringOptionalComma-separated business ids to include.
curl "https://api.salonify.eu/api/v1/businesses/cross-salon/staff-performance" \
  -H "X-API-Key: sk_live_..."
[
  { "staffId": "st_4d11", "name": "Marie Dupont", "businessId": "b_8f3a", "bookings": 188, "revenue": 8460 },
  { "staffId": "st_5e22", "name": "Tom Klein", "businessId": "b_8f3a", "bookings": 142, "revenue": 6120 }
]

Consolidated invoices

GET/businesses/cross-salon/invoices
analytics:readPRO plan

All Salonify subscription invoices across the salons you own, consolidated into one list.

curl "https://api.salonify.eu/api/v1/businesses/cross-salon/invoices" \
  -H "X-API-Key: sk_live_..."
[
  {
    "id": "in_91",
    "businessId": "b_8f3a",
    "amount": 49,
    "currency": "eur",
    "status": "paid",
    "periodStart": "2026-06-01T00:00:00.000Z",
    "periodEnd": "2026-07-01T00:00:00.000Z"
  }
]