User signup

Please use this (https://kionova.org/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

{
        "code": 200,
        "message": "User registered successfully",
        "data":{
            "user_id": 85,
            "user_name": "tech_expert"
        },
        "auth":{
            "auth_token": "3b2088ac9367efcdcc7137ccc4906ae2f7a83d8a16013901054632f24af8afb7",
            "refresh_token": "9f1c0d6e2b7a4c3e8d5f6a1b0c9e8d7f6a5b4c3d2e1f0a9b8c7d6e5f4a3b2c1d",
            "auth_token_expiry": 1791190000
        }
    }
    

Error responses

{
        "code": 410,
        "message": "This username is already taken"
    }
    
{
        "code": 409,
        "message": "Email ID already registered"
    }
    
{
        "code": 403,
        "data": [],
        "message": "Registration is currently closed"
    }
    

Registration through the API is only possible when user registration is enabled and account confirmation is switched off in the admin panel. With account confirmation on, the API answers 403 "Registration requires account confirmation. Please sign up on the website". First and last name: 3-25 characters.