API referenceAuth
Password Login
POST
/api/v1/auth/loginRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/auth/login" \ -H "Content-Type: application/json" \ -d '{ "email": "[email protected]", "password": "pa$$word" }'{ "csrf_token": "string", "principal_id": "string"}