Skip to main content
POST
/
api
/
auth
/
register
Register
curl --request POST \
  --url https://api.example.com/api/auth/register \
  --header 'Content-Type: application/json' \
  --data '
{
  "username": "<string>",
  "password": "<string>"
}
'
{
  "success": true,
  "message": "<string>",
  "user": {}
}

Body

application/json

User registration request model

username
string
required
password
string
required

Response

Successful Response

User registration response model

success
boolean
required
message
string
required
user
User · object