Sample - Twilio API
POST/2010-04-01/Accounts.json

Create a new Twilio Subaccount from the account making the request

Create a new Twilio Subaccount from the account making the request

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

1 body field
FriendlyNamestringoptional
A human readable description of the account to create, defaults to `SubAccount Created at {YYYY-MM-DD HH:MM meridian}`

1 status code
201Created
auth_tokenstringoptional
The authorization token for this account. This token should be kept a secret, so no sharing.
date_createdstringoptional
The date that this account was created, in GMT in RFC 2822 format
date_updatedstringoptional
The date that this account was last updated, in GMT in RFC 2822 format.
friendly_namestringoptional
A human readable description of this account, up to 64 characters long. By default the FriendlyName is your email address.
owner_account_sidstringoptional
The unique 34 character id that represents the parent of this account. The OwnerAccountSid of a parent account is it's own sid.
sidstringoptional
A 34 character string that uniquely identifies this resource.
statusstringoptional
The status of this account. Usually `active`, but can be `suspended` or `closed`.
Allowed:activesuspendedclosed
subresource_urisobjectoptional
A Map of various subresources available for the given Account Instance
typestringoptional
The type of this account. Either `Trial` or `Full` if it's been upgraded
Allowed:TrialFull
uristringoptional
The URI for this resource, relative to `https://api.twilio.com`