Twilio · Schema

Twilio Account

Represents a Twilio account or subaccount with configuration details, status, and authentication credentials.

AuthenticationCommunicationsContact CenterEmailIoTMessagingPhoneSMST1VerificationVideoVoice

Properties

Name Type Description
sid string Unique 34-character identifier for the account
friendly_name string Human-readable name for the account
status string Current status of the account
type string Account type
auth_token string Primary authentication token for API access
owner_account_sid string SID of the parent account (for subaccounts)
date_created string ISO 8601 timestamp when the account was created
date_updated string ISO 8601 timestamp when the account was last updated
uri string Relative URI for this account resource
subresource_uris object URIs of related subresources
View JSON Schema on GitHub

JSON Schema

twilio-account-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.twilio.com/docs/schemas/twilio/account.json",
  "title": "Twilio Account",
  "description": "Represents a Twilio account or subaccount with configuration details, status, and authentication credentials.",
  "type": "object",
  "properties": {
    "sid": {
      "type": "string",
      "pattern": "^AC[0-9a-fA-F]{32}$",
      "description": "Unique 34-character identifier for the account"
    },
    "friendly_name": {
      "type": "string",
      "description": "Human-readable name for the account"
    },
    "status": {
      "type": "string",
      "enum": ["active", "suspended", "closed"],
      "description": "Current status of the account"
    },
    "type": {
      "type": "string",
      "enum": ["Trial", "Full"],
      "description": "Account type"
    },
    "auth_token": {
      "type": "string",
      "description": "Primary authentication token for API access"
    },
    "owner_account_sid": {
      "type": "string",
      "pattern": "^AC[0-9a-fA-F]{32}$",
      "description": "SID of the parent account (for subaccounts)"
    },
    "date_created": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 timestamp when the account was created"
    },
    "date_updated": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 timestamp when the account was last updated"
    },
    "uri": {
      "type": "string",
      "description": "Relative URI for this account resource"
    },
    "subresource_uris": {
      "type": "object",
      "description": "URIs of related subresources",
      "properties": {
        "available_phone_numbers": {
          "type": "string"
        },
        "calls": {
          "type": "string"
        },
        "conferences": {
          "type": "string"
        },
        "incoming_phone_numbers": {
          "type": "string"
        },
        "messages": {
          "type": "string"
        },
        "recordings": {
          "type": "string"
        },
        "transcriptions": {
          "type": "string"
        },
        "keys": {
          "type": "string"
        },
        "applications": {
          "type": "string"
        },
        "usage": {
          "type": "string"
        }
      }
    }
  },
  "required": ["sid", "friendly_name", "status", "type"]
}