cURL
curl --request POST \ --url https://app.telentir.com/api/auth/login \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "email": "[email protected]", "password": "<string>", "remember": false } '
{ "status": "ok", "token": "<string>", "message": "<string>", "auth": { "id": "<string>", "email": "[email protected]", "firstName": "<string>", "lastName": "<string>", "phoneVerified": true, "twoFactorPassed": true, "twoFactorConfigured": true } }
Sign in with email & password
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Login status
ok
phone_not_verified
2fa_required
error
JWT returned on success
Show child attributes