User signup

Please use this (https://YOUR-SITE.COM/mobile_api/signup) API to access user signup endpoint


Post parameters

Field Value Remarks
first_name User first name E.g. John
last_name User last name E.g. Smith
email New user's E-mail This field must also be unique
username Unique username Username without any characters other than Latin letters and numbers
password New user's password User password from 6-20 characters

Success response

{
    "err_code": 0,
    "code": 200,
    "message": "User logged in successfully",
    "data":[],
    "auth":{
        "auth_token": "3b2088ac9367efcdcc7137ccc4906ae2f7a83d8a16013901054632f24af8afb76dac2118870547b0aa",
        "auth_token_expiry": 1916750105
    }
}

Error responses

{
    "err_code": "doubling_username",
    "code": 410,
    "message": "This username is already taken"
}
{
    "err_code": "doubling_username",
    "code": 410,
    "message": "This username is already taken"
}