Accounts

List Accounts

This endpoint will return a list that contains Project you are connecting as and any subprojects.

Permissions

The API token must include the following scopes: Management.

get/Accounts

Query parameters

FriendlyNamestring

A named unique identifier for the resource. Allowed characters: A-Za-z0-9_-. Maximum of 100 characters.

Response

The request has succeeded.

Example response

{
  "links": {
    "uri": "/api/laml/2010-04-01/Accounts?Page=0&PageSize=50",
    "first_page_uri": "/api/laml/2010-04-01/Accounts?Page=0&PageSize=50",
    "next_page_uri": "/api/laml/2010-04-01/Accounts?Page=1&PageSize=50",
    "page_size": 50
  },
  "applications": [
    {
      "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