curl --request POST \
--url https://sgjm-api.vohoangphuc.com/v1/auth/register \
--header 'Content-Type: application/json' \
--data '
{
"companyName": "<string>",
"email": "jsmith@example.com",
"password": "<string>",
"country": "<string>",
"phoneNumber": "<string>",
"city": "<string>",
"address": "<string>"
}
'{
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "<string>",
"message": "<string>",
"success": true
}Creates a new company account and sends an activation OTP email
curl --request POST \
--url https://sgjm-api.vohoangphuc.com/v1/auth/register \
--header 'Content-Type: application/json' \
--data '
{
"companyName": "<string>",
"email": "jsmith@example.com",
"password": "<string>",
"country": "<string>",
"phoneNumber": "<string>",
"city": "<string>",
"address": "<string>"
}
'{
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "<string>",
"message": "<string>",
"success": true
}Company name
255Must contain at least 1 number, 1 special character, and 1 uppercase letter
8Phone number with country code (e.g., +84123456789)