Create Sub-Account via API

This is how you can automatically create new sub-accounts in via your white label API

Create a Sub-Account, either paid or unpaid, via API

You can interact with this API by sending a POST request. This allows you to create a Sub-Account in your Agency Account. Make sure you have sufficient sub-accounts available in your plan.

API Endpoint

The following endpoint/URL should be used in order to access this API:

Request Headers

The API must have the following request headers:

Content-Type: application/json
Authorization: Token <Your-API-Token>

Request Body

The API requires the following parameters in the request body:

  • first_name (Type: String, Optional)

    First name of the SubAccount

  • last_name (Type: String, Optional)

    Last name of the SubAccount

  • email (Type: Email, Required)

    Email address of the SubAccount

  • password (Type: String, Optional)

    Password of the SubAccount. If not provided, it will be autogenerated.

  • package_tier (Type: String, Optional)

    Package Tier (Basic, Pro, Premium) of the SubAccount, if applicable.

  • subscription_id (Type: String, Optional)

    Subscription ID of the SubAccount, required only if a package plan is selected.

Last updated