{ "400": {}, "401": {}, "403": {}, "success": true, "user": {}, "tokens": {}, "message": "<string>" }
curl -X POST https://api.convosphere.site/api/auth/login \ -H "Content-Type: application/json" \ -d '{ "email": "user@example.com", "password": "your-password" }'
{ "success": true, "user": { "id": "user_123", "email": "user@example.com", "name": "John Doe", "role": "USER", "planTier": "starter" }, "tokens": { "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." }, "message": "Login successful" }
Was this page helpful?