Create a new Twilio Subaccount from the account making the request
Twilio accounts (aka Project) or subaccounts
Create a new Twilio Subaccount from the account making the request
Body
-
FriendlyName string
A human readable description of the account to create, defaults to
SubAccount Created at {YYYY-MM-DD HH:MM meridian}
POST /2010-04-01/Accounts.json
curl \
-X POST https://api.twilio.com/2010-04-01/Accounts.json \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'FriendlyName=string'
Request example
{
"FriendlyName": "string"
}
Request examples
{
"FriendlyName": "string"
}
Response examples (201)
{
"auth_token": "string",
"date_created": "string",
"date_updated": "string",
"friendly_name": "string",
"owner_account_sid": "string",
"sid": "string",
"status": "active",
"subresource_uris": {},
"type": "Trial",
"uri": "https://example.com"
}
Response examples (201)
{
"auth_token": "string",
"date_created": "string",
"date_updated": "string",
"friendly_name": "string",
"owner_account_sid": "string",
"sid": "string",
"status": "active",
"subresource_uris": {},
"type": "Trial",
"uri": "https://example.com"
}