v1

latestSwagger 2.0MIT2026-07-17233380637.0 KB
Master account

Create a new sub-account under a master account.

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

post/corporate/subAccount

Request body

companyNamestring required

Set the name of the sub-account company

emailstring required

Email address for the organization

language'en' | 'fr' | 'it' | 'es' | 'pt' | 'de'

Set the language of the sub-account

timezonestring

Set the timezone of the sub-account

groupIdsstring[]

Set the group(s) for the sub-account

Example request

{
  "companyName": "Test Sub-account",
  "email": "test-sub@example.com",
  "timezone": "Europe/Paris",
  "language": "fr",
  "groupIds": [
    "5f8f8c3b5f56a02d4433b3a7",
    "5f8f8c3b5f56a02d4433b3a8"
  ]
}

Response

Created sub-account ID

idinteger required

ID of the sub-account created

Example response

{
  "id": 122
}