Skip to main content
POST
/
v1
/
auth
/
login
Company login with email and password
curl --request POST \
  --url https://sgjm-api.vohoangphuc.com/v1/auth/login \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "jsmith@example.com",
  "password": "<string>"
}
'
{
  "success": true,
  "isActivated": true,
  "message": "<string>",
  "companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Body

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

Response

Login successful or OTP sent for activation

success
boolean
isActivated
boolean

Whether the account is activated

message
string
companyId
string<uuid>