TellEm API Documentation
Bearer token Supabase. JSON in, JSON out. CORS activé.
POST/api/auth/login
Authentifier un utilisateur
Échange email + mot de passe contre un token JWT Supabase.
Headers requis
Authorization: Bearer <SUPABASE_JWT>
Content-Type: application/jsonBody (JSON)
{
"email": "user@example.com",
"password": "********"
}Response (200 OK)
{
"access_token": "eyJhbGciOi...",
"refresh_token": "OBJEv...",
"user": { "id": "uuid", "email": "user@example.com" }
}Code samples
curl -X POST https://www.tellem.africa/api/auth/login \
-H "Content-Type: application/json" \
-d '{"email":"user@example.com","password":"..."}'