post

/subaccounts/createSubaccount

This API endpoint enables you to create a new subaccount.

Change Log:

  • Email address of the main account can now be used while creating a subaccount.
  • API key of the subaccount is passed in the response.

Request Parameters

1 Header

Request Body

Schema
object
username
string

You are allowed to use the same email address as your main account; however it is advisable to have a unique username & password combination.

required
email
string
required
setpassword
integer

It can be 0 or 1, if value given as 1 then ‘password’ parameter is mandatory

2 validations + required
password
string

Responses

1 Example
Schema
object
api_key
string
message
string

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
$$.env
1 variable not set
host