API Reference
API REST Cimolace — Tous les endpoints sont préfixés par https://api.cimolace.com
Endpoints
Tous les endpoints retournent le format { data } ou { error: { code, message } }
GET
/healthPublicGET
/auth/meJWTPOST
/tenantsJWTGET
/tenants/currentJWT + TenantPATCH
/tenants/current/brandingJWT + Tenant + OwnerPOST
/livesJWT + Tenant + StaffGET
/livesJWT + TenantGET
/lives/:idJWT + TenantGET
/lives/:id/tokenJWT + TenantPOST
/checkout/sessionsJWTPOST
/checkout/webhook/stripePublicGET
/cimolace/catalogPublicGET
/marketing/promo-codesJWT + TenantGET
/billing/subscriptionJWT + Tenant + AdminAuthentification
Tous les endpoints protégés nécessitent un token JWT Supabase dans le header Authorization: Bearer <token>
Les endpoints multi-tenant nécessitent le header X-Tenant-Slug: <slug>