cURL
curl --request GET \ --url https://app.telentir.com/api/auth \ --header 'Authorization: Bearer <token>'
{ "status": "ok", "token": "<string>", "message": "<string>", "auth": { "id": "<string>", "email": "[email protected]", "firstName": "<string>", "lastName": "<string>", "phoneVerified": true, "twoFactorPassed": true, "twoFactorConfigured": true } }
Get auth status
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Current auth state
ok
phone_not_verified
2fa_required
error
JWT returned on success
Show child attributes