curl --location --request POST 'https://api.conexteo.com/subaccount' \
--header 'X-APP-ID: <api-key>' \
--header 'X-API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "subaccount@mail.com",
"firstName": "Nom",
"lastName": "Prénom",
"phoneNumber": "0606060606",
"password": "password",
"social_reason": "Raison Sociale",
"credits_mode": "self"
}'
{
"subaccount_id": 100,
"email": "subaccount@mail.com",
"social_reason": "raison sociale",
"phone_number": "0606060606",
"first_name": "nom",
"last_name": "prénom",
"credits_mode": "self",
"appId": "ASDQDSDFTTYYH54886226",
"apikey": "Xfd545754F"
}