Register User
    • Dark
      Light
    • PDF

    Register User

    • Dark
      Light
    • PDF

    Article summary

    Post
    /api/v1/users.register

    Changelog

    VersionDescription
    0.50.0Added
    Body parameters
    object
    username
    string Required

    The username for the user.

    Examplerogersmith
    email
    string Required

    The email for the user.

    pass
    string Required

    The password for the user.

    Examplepassw0rd
    name
    string Required

    The name of the user. The value can be an empty string if Require Name For Signup is disabled in account registration.

    ExampleRoger Smith
    secretURL
    string

    String appended to secret registration URL.

    ExampleJjwjg6gouWLXhMGKW
    Responses
    200

    OK

    Success Example
    {
      "user": {
        "_id": "nSYqWzZ4GsKTX4dyK",
        "type": "user",
        "status": "offline",
        "active": true,
        "name": "Example User",
        "utcOffset": 0,
        "username": "example"
      },
      "success": true
    }
    Expand All
    object
    user
    object
    _id
    string
    type
    string
    status
    string
    active
    boolean
    name
    string
    utcOffset
    integer
    username
    string
    success
    boolean

    Was this article helpful?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.