Skip to main content
POST
/
auth
/
login
Applicant login with email and password
curl --request POST \
  --url https://sgja-api.vohoangphuc.com/auth/login \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "jsmith@example.com",
  "password": "<string>"
}
'
{
  "accessToken": "<string>",
  "refreshToken": "<string>",
  "tokenType": "Bearer",
  "expiresIn": 123
}

Body

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

Response

Login successful

accessToken
string
refreshToken
string
tokenType
string
default:Bearer
expiresIn
integer<int64>

Token expiry in seconds