Accounts

Create Subprojects

This endpoint creates a subproject on the Project you are connecting as.

Permissions

The API token must include the following scopes: Management.

post/Accounts

Response

The request has succeeded.

auth_tokenstring

The authorization token for this Project. This token should be kept a secret and is not returned in a normal request.

date_createdstring

The date, in RFC 2822 GMT format, this Project was created.

date_updatedstring

The date, in RFC 2822 GMT format, this Project was updated.

friendly_namestring

The name of the Project, up to 250 characters long.

owner_account_sidstring uuid

The Project ID that uniquely identifies the parent of the Project.

sidstring uuid

The Project ID that uniquely identifies the Project.

statusstring

The status of the Project. Possible values are: active, suspended, or closed.

subprojectboolean

Whether or not the project is a sub-project.

typestring

The type of the Project. Possible values are: Trial and Full.

uristring uri

The URI for the Project.

Example response

{
  "auth_token": "Redacted",
  "date_created": "Sat, 15 Sept 2018 10:00:00 +0000",
  "date_updated": "Sat, 16 Sept 2018 10:00:00 +0000",
  "friendly_name": "My Project",
  "owner_account_sid": "b3877c40-da60-4998-90ad-b792e98472af",
  "sid": "b3877c40-da60-4998-90ad-b792e98472af",
  "status": "active",
  "subresource_uris": {
    "available_phone_numbers": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/AvailablePhoneNumbers.json",
    "calls": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Calls.json",
    "conferences": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Conferences.json",
    "incoming_phone_numbers": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/IncomingPhoneNumbers.json",
    "notifications": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Notifications.json",
    "outgoing_caller_ids": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/OutgoingCallerIds.json",
    "recordings": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Recordings.json",
    "transcriptions": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Transcriptions.json",
    "addresses": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Addresses.json",
    "signing_keys": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/SigningKeys.json",
    "connect_apps": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/ConnectApps.json",
    "sip": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/SIP.json",
    "authorized_connect_apps": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/AuthorizedConnectApps.json",
    "usage": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Usage.json",
    "keys": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Keys.json",
    "applications": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Applications.json",
    "short_codes": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/ShortCodes.json",
    "queues": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Queues.json",
    "messages": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Messages.json"
  },
  "type": "Full",
  "uri": "/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af.json"
}

Changes