Fuselage
Register User
Register a user
URL
Requires Auth
HTTP Method
/api/v1/users.register
no
POST

Payload

Argument
Example
Required
Description
username
rogersmith
Required
The username for the user.
email
Required
The email for the user.
pass
passw0rd
Required
The password for the user.
name
Roger Smith
Required
The name of the user. Can be "" if Require Name For Signup is disabled in Accounts > Registration
secretURL
Jjwjg6gouWLXhMGKW
Optional
String appended to secret registration URL (if using).

Example Call

curl -H "Content-type:application/json" \
http://localhost:3000/api/v1/users.register \
-d '{ "username": "rogersmith", "email": "[email protected]", "pass": "passw0rd", "name": "Roger Smith"}'

Example Result

{
"user": {
"_id": "nSYqWzZ4GsKTX4dyK",
"type": "user",
"status": "offline",
"active": true,
"name": "Example User",
"utcOffset": 0,
"username": "example"
},
"success": true
}

Change Log

Version
Description
0.50.0
Added
Export as PDF
Copy link
Edit on GitHub
On this page
Payload
Example Call
Example Result
Change Log