{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/twilio/main/json-schema/twilio-access-token-schema.json",
  "title": "AccessToken",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/twilio-access-tokens-api-openapi.yml#/components/schemas/AccessToken",
  "type": "object",
  "properties": {
    "sid": {
      "type": "string"
    },
    "account_sid": {
      "type": "string",
      "pattern": "^AC[0-9a-fA-F]{32}$"
    },
    "service_sid": {
      "type": "string",
      "pattern": "^VA[0-9a-fA-F]{32}$"
    },
    "entity_identity": {
      "type": "string"
    },
    "factor_type": {
      "type": "string",
      "enum": [
        "push",
        "totp"
      ]
    },
    "factor_friendly_name": {
      "type": "string"
    },
    "token": {
      "type": "string",
      "description": "The access token string"
    },
    "ttl": {
      "type": "integer"
    },
    "date_created": {
      "type": "string",
      "format": "date-time"
    },
    "url": {
      "type": "string",
      "format": "uri"
    }
  }
}