Description

Create new user and returns access_token. Contact support to get permission to use this action.

Headers

content_type

application/json

Parameters

email required, type: String

Must be valid email. Welcome mail, password reset instructions and others will be sent to given email

username optional, type: String

If not provided, will be generated automatically

password optional, type: String

Minimum 6 characters. If not provided, random secure password will be generated

Example Response

{
    "success": true,
    "username": "john_smith",
    "email": "john_smith@gmail.com",
    "access_token": {
        "access_token": "5b4a5e5",
        "token_type": "bearer",
        "expires_in": null,
        "refresh_token": "b924ac",
        "scope": ""
    }
}