curl --location 'https://api.comtele.com.br/child-users' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"fullName": "Empresa Exemplo Ltda",
"email": "contato@empresaexemplo.com.br",
"phoneNumber": "5511999999999",
"document": "11222333000181",
"limit": 1000,
"ownerCredentialFullName": "Maria da Silva",
"ownerCredentialEmail": "maria@empresaexemplo.com.br",
"ownerCredentialPhoneNumber": "5511988887777",
"password": "Senha@123"
}'{
"hasError": false,
"message": "A subconta foi criada com sucesso.",
"object": {
"id": 12345,
"fullName": "Empresa Exemplo Ltda",
"email": "contato@empresaexemplo.com.br",
"phoneNumber": "5511999999999",
"document": "11222333000181",
"role": "CUSTOMER",
"parentUserId": 321
},
"totalRecords": 0,
"errors": null
}