register
Users
register
Register User
This endpoint allows the client to register a new user.
Request Body
-
firstName(string) - The first name of the user. -
lastName(string) - The last name of the user. -
userName(string) - The username chosen by the user. -
email(string) - The email address of the user. -
password(string) - The password for the user account.
Response
Upon successful registration, the server responds with a status code of 201 and a JSON object containing:
-
data(object) - An empty object indicating successful registration. -
error(null) - A null value indicating no error occurred during registration.
Example Response:
{
"data": {},
"error": null
}
POST
register