curl --request POST \
--url https://sgja-api.vohoangphuc.com/auth/register \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com",
"password": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"country": "<string>",
"dateOfBirth": "<string>",
"phoneNumber": "<string>",
"streetNameNumber": "<string>",
"city": "<string>"
}
'{
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "<string>",
"status": "PENDING_ACTIVATION",
"message": "<string>",
"profileCreationStatus": "PROFILE_CREATION_INITIATED",
"timestamp": "2023-11-07T05:31:56Z"
}Creates a new applicant account with email and password. Sends verification email.
curl --request POST \
--url https://sgja-api.vohoangphuc.com/auth/register \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com",
"password": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"country": "<string>",
"dateOfBirth": "<string>",
"phoneNumber": "<string>",
"streetNameNumber": "<string>",
"city": "<string>"
}
'{
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "<string>",
"status": "PENDING_ACTIVATION",
"message": "<string>",
"profileCreationStatus": "PROFILE_CREATION_INITIATED",
"timestamp": "2023-11-07T05:31:56Z"
}Registration successful
Account activation status
PENDING_ACTIVATION, ACTIVE Status of profile creation request
PROFILE_CREATION_INITIATED, PROFILE_CREATION_PENDING