Skip to main content
POST
/
auth
/
login
User login
curl --request POST \
  --url https://api.anycheck.id/auth/login \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "[email protected]",
  "password": "<string>"
}
'
{
  "access_token": "<string>",
  "refresh_token": "<string>",
  "expires_in": 123
}

Body

application/json
email
string<email>
required
password
string<password>
required

Response

Login successful

access_token
string

JWT access token

refresh_token
string

JWT refresh token

expires_in
integer

Token expiration time in seconds