Fetch the account specified by the provided Account Sid

GET /2010-04-01/Accounts/{Sid}.json

Twilio accounts (aka Project) or subaccounts

Fetch the account specified by the provided Account Sid

Path parameters

  • Sid string Required

    The Account Sid that uniquely identifies the account to fetch

Responses

  • 200

    OK

    Hide response attributes Show response attributes object
    • auth_token string | null

      The authorization token for this account

    • date_created string(date-time-rfc-2822) | null

      The date this account was created

    • date_updated string(date-time-rfc-2822) | null

      The date this account was last updated

    • friendly_name string | null

      A human readable description of this account

    • owner_account_sid string | null

      The unique 34 character id representing the parent of this account

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

    • sid string | null

      A 34 character string that uniquely identifies this resource.

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

    • status string | null

      The status of this account

      Values are active, suspended, or closed.

    • subresource_uris object(uri-map) | null

      Account Instance Subresources

    • type string | null

      The type of this account

      Values are Trial or Full.

    • uri string(uri) | null

      The URI for this resource, relative to https://api.twilio.com

GET /2010-04-01/Accounts/{Sid}.json
curl \
 -X GET https://api.twilio.com/2010-04-01/Accounts/{Sid}.json \
 --user "username:password"
Response examples (200)
{
  "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"
}