Create a new subaccount
POST
/subaccounts
Subaccounts
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://rest.clicksend.com/v3/subaccounts' \
--header 'Content-Type: application/json' \
--data-raw '{
"api_username": "nameP99",
"email": "testvrq@gmail.com",
"first_name": "FirstnameeGPqV",
"last_name": "LastnamePvjJp",
"password": "pass",
"phone_number": "941-751-3278"
}'
Response Response Example
{
"data": {
"access_billing": 1,
"access_contacts": 1,
"access_email": 1,
"access_fax": 1,
"access_mms": 1,
"access_post": 1,
"access_reporting": 1,
"access_reseller": 1,
"access_settings": 1,
"access_sms": 1,
"access_users": 1,
"access_voice": 1,
"api_key": "367C506E-FBCA-1EDA-E8E0-1384F9F196D5",
"api_username": "nameP99",
"email": "testvrq@gmail.com",
"first_name": "FirstnameeGPqV",
"last_name": "LastnamePvjJp",
"notes": null,
"phone_number": "+619417513278",
"share_campaigns": 0,
"subaccount_id": 59
},
"http_code": 200,
"response_code": "SUCCESS",
"response_msg": "New account has been created."
}
Request
Body Params application/json