API endpoint that represents the creation of a new user account
-
URL Endpoint:
/auth/signup
-
Method:
POST
-
URL Params:
None
-
Request Body:
Name Type Required Description firstname
string
✅ User first name lastname
string
✅ User last name othernames
string
❌ User other names phoneNumber
string
✅ User phone number username
string
✅ Unique username email
string
✅ User email address pasword
string
✅ User password -
Success Response
- Code:
201 Created
- Content:
{ "status": 201, "data": [ { "token": "...", "user": {} } ] }
- Code: