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"
}Authenticates a company. If account is not activated, sends OTP and sets temporary cookie.
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"
}