Documentation/API Reference

API Reference

API REST Cimolace — Tous les endpoints sont préfixés par https://api.cimolace.space

Endpoints

Tous les endpoints retournent le format { data } ou { error: { code, message } }

GET/healthPublic
GET/auth/meJWT
POST/signup/tenantPublic
GET/tenants/currentJWT + Tenant
PATCH/tenants/current/brandingJWT + Tenant + Owner
POST/livesJWT + Tenant + Staff
GET/livesJWT + Tenant
GET/lives/:idJWT + Tenant
POST/lives/:id/tokenJWT + Tenant
POST/checkout/sessionsJWT
POST/checkout/webhook/stripePublic
GET/cimolace/catalogPublic
GET/marketing/promosJWT + Tenant
GET/billing/subscriptionJWT + Tenant + Admin

Authentification

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>

Retour à la documentation