Skip to main content
POST
/
v1
/
auth
/
register
Register new company account
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
}

Body

application/json
companyName
string
required

Company name

email
string<email>
required
Maximum string length: 255
password
string
required

Must contain at least 1 number, 1 special character, and 1 uppercase letter

Minimum string length: 8
country
string
required
phoneNumber
string

Phone number with country code (e.g., +84123456789)

city
string
address
string

Response

Registration successful, OTP sent

companyId
string<uuid>
email
string
message
string
success
boolean