Skip to main content
POST
/
v1
/
auth
/
verify-account
Verify company OTP and activate account
curl --request POST \
  --url https://sgjm-api.vohoangphuc.com/v1/auth/verify-account \
  --header 'Content-Type: application/json' \
  --cookie auth_token= \
  --data '
{
  "otp": "<string>"
}
'
{
  "success": true,
  "message": "<string>"
}

Authorizations

auth_token
string
cookie
required

JWE token stored in HttpOnly cookie

Body

application/json
otp
string
required

6-digit OTP code

Required string length: 6

Response

Account activated successfully

success
boolean
message
string