cURL
curl --request POST \ --url https://api.faces.sh/auth/login \ --header 'Content-Type: application/json' \ --data ' { "email": "<string>", "password": "<string>" } '
{ "success": true, "messages": [], "data": { "token": "<string>", "user_id": "<string>", "is_admin": true }, "error": "<string>", "meta": {} }
Login with email or username and password.
Returns JWT token with sub=iam.uid
Successful Response
Show child attributes