Create a new sub-account under a master account.

This endpoint will create a new sub-account under a master account

Authentication

api-keystring

The API key should be passed in the request headers as api-key for authentication.

Request

Request body with sub-account organization name

companyNamestringRequired

Set the name of the sub-account company

emailstringRequired
Email address for the organization
groupIdslist of stringsOptional

Set the group(s) for the sub-account

languageenumOptional

Set the language of the sub-account

timezonestringOptional

Set the timezone of the sub-account

Response

Created sub-account ID

idlong

ID of the sub-account created

Errors