🔰 Each parameter in details of this POST Request,
FirstName: A required string field for the user's first name with a maximum length of 255 characters.
LastName: A required string field for the user's last name with a maximum length of 255 characters.
Email: A required string field for the user's email address with a length between 5 and 100 characters and a valid email format.
Password: A string field for the user's password with a length between 8 and 100 characters, containing at least one lowercase letter, one uppercase letter, one digit, and one special character.
newsletter: A required boolean field indicating whether the user accepts the terms and conditions.
📢 Info message : Here the POST request enpoint is constructed like /v1/auth/register
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
first_name
stringÂ
required
A required string field for the user's first name with a maximum length of 255 characters.
last_name
stringÂ
required
A required string field for the user's last name with a maximum length of 255 characters.
email
stringÂ
required
A required string field for the user's email address with a length between 5 and 100 characters and a valid email format
password
stringÂ
required
A string field for the user's password with a length between 8 and 100 characters, containing at least one lowercase letter, one uppercase letter, one digit, and one special character.
newsletter
booleanÂ
required
A required boolean field indicating whether the user accepts the terms and conditions.