cURL
curl --request POST \ --url https://api.app.shinzo.ai/auth/login \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "email": "<string>", "password": "<string>" } '
Authenticate with email and password to receive a JWT token.
curl -X POST https://api.app.shinzo.ai/auth/login \ -H "Content-Type: application/json" \ -d '{ "email": "user@example.com", "password": "securepassword123" }'
{ "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "user": { "uuid": "usr_abc123def456", "email": "user@example.com" } }
200
400
401
403
Authorization
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
{ "error": "Email not verified. Please check your inbox for a verification email." }