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

Body

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

"your_password"

method
enum<string>

Authentication method (only for external authentication). For password authentication, omit the method field.

Available options:
LDAP
Example:

"LDAP"

Response

Login successful

access_token
string

JWT access token

refresh_token
string

JWT refresh token