Skip to main content
GET
/
api
/
auth
Get auth status
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
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Current auth state

status
enum<string>
Available options:
ok,
phone_not_verified,
2fa_required,
error
token
string

JWT returned on success

message
string
auth
object