User signup

Please use this (https://blkem.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
phone New user's Phone 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
signup_with Signup type 'email' or 'phone'. Default is email

Success response

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

Success response if Account Verification is ON

{
        "code": 200,
        "message": "Verification code has been sent on email",
        "data": {
            "vud_id": "5908f06933b8075918e7ba70e4ee17a7cc29ec681638966360a48c88d71597ea2160e6ff607c69343e"
        }
    }
    

Error responses

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