Login
Exchange your email and password for a JWT. Enter your credentials and press Send below — the token is saved automatically and applied to every other endpoint on this site.
Exchange an email and password for a JWT access token.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/identity/login" \ -H "Content-Type: application/json" \ -d '{ "email": "user@example.com", "password": "pa$$word" }'{ "error": true, "data": { "email": "string", "companyId": 0, "id": 0, "role": "string", "jwt": { "token": "string", "exp": 0 } }}