Skip to main content
POST
/
api
/
v1
/
auth
/
signup
Register new user account (requires verification)
curl --request POST \
  --url http://localhost:3000/api/v1/auth/signup \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "username": "<string>",
  "email": "<string>",
  "password": "<string>",
  "confirmPassword": "<string>"
}
'
{
  "message": "<string>",
  "data": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
username
string

username — see API source for exact type.

email
string

email — see API source for exact type.

password
string

password — see API source for exact type.

confirmPassword
string

confirmPassword — see API source for exact type.

Response

Created

message
string
data
object