Skip to main content
POST
/
v1
/
accounts
/
{account_id}
/
subaccounts
Create subaccount
curl --request POST \
  --url https://api.itellico.ai/v1/accounts/{account_id}/subaccounts \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "is_active": true,
  "created": "<string>",
  "modified": "<string>",
  "parent_account_id": "<string>"
}

Authorizations

X-API-Key
string
header
required

Path Parameters

account_id
string
required

Body

application/json

Payload to create a subaccount under the specified parent account

name
string
required

Name of the subaccount to create

Response

Created

Account information

id
string<uuid4>
required

Unique identifier for the account

name
string
required

Account name

is_active
boolean
required

Whether the account is active

created
string
required

ISO 8601 date-time when the account was created

modified
string
required

ISO 8601 date-time when the account was last modified

parent_account_id
string<uuid4> | null

Parent account ID (null for root accounts)