Skip to main content
POST
/
api
/
auth
/
login
Sign in with email & password
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
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
email
string<email>
required
password
string<password>
required
remember
boolean
default:false
required

Response

Login status

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

JWT returned on success

message
string
auth
object