{
  "components": {
    "securitySchemes": {
      "accountSid_authToken": {
        "scheme": "basic",
        "type": "http"
      }
    },
    "schemas": {
      "accounts.v1.auth_token_promotion": {
        "type": "object",
        "properties": {
          "account_sid": {
            "type": "string",
            "minLength": 34,
            "maxLength": 34,
            "pattern": "^AC[0-9a-fA-F]{32}$",
            "nullable": true,
            "description": "The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that the secondary Auth Token was created for."
          },
          "auth_token": {
            "type": "string",
            "nullable": true,
            "description": "The promoted Auth Token that must be used to authenticate future API requests.",
            "x-twilio": {
              "pii": {
                "handling": "sensitive",
                "deleteSla": 0
              }
            }
          },
          "date_created": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "description": "The date and time in UTC when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format."
          },
          "date_updated": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "description": "The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format."
          },
          "url": {
            "type": "string",
            "format": "uri",
            "nullable": true,
            "description": "The URI for this resource, relative to `https://accounts.twilio.com`"
          }
        }
      },
      "accounts.v1.bulk_consents": {
        "type": "object",
        "properties": {
          "items": {
            "nullable": true,
            "description": "A list of objects where each object represents the result of processing a `correlation_id`. Each object contains the following fields: `correlation_id`, a unique 32-character UUID that maps the response to the original request; `error_code`, an integer where 0 indicates success and any non-zero value represents an error; and `error_messages`, an array of strings describing specific validation errors encountered. If the request is successful, the error_messages array will be empty.",
            "x-twilio": {
              "pii": {
                "handling": "standard",
                "deleteSla": 30
              }
            }
          }
        }
      },
      "accounts.v1.bulk_contacts": {
        "type": "object",
        "properties": {
          "items": {
            "nullable": true,
            "description": "A list of objects where each object represents the result of processing a `correlation_id`. Each object contains the following fields: `correlation_id`, a unique 32-character UUID that maps the response to the original request; `error_code`, an integer where 0 indicates success and any non-zero value represents an error; and `error_messages`, an array of strings describing specific validation errors encountered. If the request is successful, the error_messages array will be empty.",
            "x-twilio": {
              "pii": {
                "handling": "standard",
                "deleteSla": 30
              }
            }
          }
        }
      },
      "accounts.v1.credential": {
        "type": "object",
        "properties": {}
      },
      "accounts.v1.credential.credential_aws": {
        "type": "object",
        "properties": {
          "sid": {
            "type": "string",
            "minLength": 34,
            "maxLength": 34,
            "pattern": "^CR[0-9a-fA-F]{32}$",
            "nullable": true,
            "description": "The unique string that we created to identify the AWS resource."
          },
          "account_sid": {
            "type": "string",
            "minLength": 34,
            "maxLength": 34,
            "pattern": "^AC[0-9a-fA-F]{32}$",
            "nullable": true,
            "description": "The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the AWS resource."
          },
          "friendly_name": {
            "type": "string",
            "nullable": true,
            "description": "The string that you assigned to describe the resource.",
            "x-twilio": {
              "pii": {
                "handling": "standard",
                "deleteSla": 0
              }
            }
          },
          "date_created": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "description": "The date and time in GMT when the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format."
          },
          "date_updated": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "description": "The date and time in GMT when the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format."
          },
          "url": {
            "type": "string",
            "format": "uri",
            "nullable": true,
            "description": "The URI for this resource, relative to `https://accounts.twilio.com`"
          }
        }
      },
      "accounts.v1.credential.credential_public_key": {
        "type": "object",
        "properties": {
          "sid": {
            "type": "string",
            "minLength": 34,
            "maxLength": 34,
            "pattern": "^CR[0-9a-fA-F]{32}$",
            "nullable": true,
            "description": "The unique string that that we created to identify the PublicKey resource."
          },
          "account_sid": {
            "type": "string",
            "minLength": 34,
            "maxLength": 34,
            "pattern": "^AC[0-9a-fA-F]{32}$",
            "nullable": true,
            "description": "The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Credential that the PublicKey resource belongs to."
          },
          "friendly_name": {
            "type": "string",
            "nullable": true,
            "description": "The string that you assigned to describe the resource.",
            "x-twilio": {
              "pii": {
                "handling": "standard",
                "deleteSla": 0
              }
            }
          },
          "date_created": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "description": "The date and time in GMT when the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format."
          },
          "date_updated": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "description": "The date and time in GMT when the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format."
          },
          "url": {
            "type": "string",
            "format": "uri",
            "nullable": true,
            "description": "The URI for this resource, relative to `https://accounts.twilio.com`"
          }
        }
      },
      "accounts.v1.messaging_geopermissions": {
        "type": "object",
        "properties": {
          "permissions": {
            "nullable": true,
            "description": "A list of objects where each object represents the result of processing a messaging Geo Permission. Each object contains the following fields: `country_code`, the country code of the country for which the permission was updated; `type`, the type of the permission i.e. country; `enabled`, true if the permission is enabled else false; `error_code`, an integer where 0 indicates success and any non-zero value represents an error; and `error_messages`, an array of strings describing specific validation errors encountered. If the request is successful, the error_messages array will be empty."
          }
        }
      },
      "accounts.v1.safelist": {
        "type": "object",
        "properties": {
          "sid": {
            "type": "string",
            "minLength": 34,
            "maxLength": 34,
            "pattern": "^GN[0-9a-fA-F]{32}$",
            "nullable": true,
            "description": "The unique string that we created to identify the SafeList resource."
          },
          "phone_number": {
            "type": "string",
            "nullable": true,
            "description": "The phone number or phone number 1k prefix in SafeList.",
            "x-twilio": {
              "pii": {
                "handling": "standard",
                "deleteSla": 0
              }
            }
          }
        }
      },
      "accounts.v1.secondary_auth_token": {
        "type": "object",
        "properties": {
          "account_sid": {
            "type": "string",
            "minLength": 34,
            "maxLength": 34,
            "pattern": "^AC[0-9a-fA-F]{32}$",
            "nullable": true,
            "description": "The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that the secondary Auth Token was created for."
          },
          "date_created": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "description": "The date and time in UTC when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format."
          },
          "date_updated": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "description": "The date and time in UTC when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format."
          },
          "secondary_auth_token": {
            "type": "string",
            "nullable": true,
            "description": "The generated secondary Auth Token that can be used to authenticate future API requests.",
            "x-twilio": {
              "pii": {
                "handling": "sensitive",
                "deleteSla": 0
              }
            }
          },
          "url": {
            "type": "string",
            "format": "uri",
            "nullable": true,
            "description": "The URI for this resource, relative to `https://accounts.twilio.com`"
          }
        }
      }
    }
  },
  "info": {
    "title": "Twilio - Accounts",
    "description": "This is the public Twilio REST API.",
    "termsOfService": "https://www.twilio.com/legal/tos",
    "contact": {
      "name": "Twilio Support",
      "url": "https://support.twilio.com",
      "email": "support@twilio.com"
    },
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "version": "1.0.0",
    "x-twilio": {
      "apiStandards": "v0.1"
    }
  },
  "openapi": "3.0.1",
  "paths": {
    "/v1/AuthTokens/Promote": {
      "servers": [
        {
          "url": "https://accounts.twilio.com"
        }
      ],
      "description": "Auth Token promotion",
      "x-twilio": {
        "defaultOutputProperties": [
          "account_sid",
          "auth_token",
          "date_created"
        ],
        "mountName": "auth_token_promotion",
        "pathType": "instance"
      },
      "post": {
        "description": "Promote the secondary Auth Token to primary. After promoting the new token, all requests to Twilio using your old primary Auth Token will result in an error.",
        "summary": "Promote the secondary Auth Token to primary. After promoting the new token, all requests to Twilio using your old primary Auth Token will result in an error.",
        "tags": [
          "AccountsV1AuthTokenPromotion"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/accounts.v1.auth_token_promotion"
                },
                "examples": {
                  "update": {
                    "value": {
                      "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
                      "auth_token": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
                      "date_created": "2015-07-31T04:00:00Z",
                      "date_updated": "2015-07-31T04:00:00Z",
                      "url": "https://accounts.twilio.com/v1/AuthTokens/Promote"
                    }
                  }
                }
              }
            },
            "headers": {
              "Access-Control-Allow-Origin": {
                "description": "Specify the origin(s) allowed to access the resource",
                "schema": {
                  "type": "string"
                },
                "example": "*"
              },
              "Access-Control-Allow-Methods": {
                "description": "Specify the HTTP methods allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "POST, OPTIONS"
              },
              "Access-Control-Allow-Headers": {
                "description": "Specify the headers allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "Content-Type, Authorization"
              },
              "Access-Control-Allow-Credentials": {
                "description": "Indicates whether the browser should include credentials",
                "schema": {
                  "type": "boolean"
                }
              },
              "Access-Control-Expose-Headers": {
                "description": "Headers exposed to the client",
                "schema": {
                  "type": "string",
                  "example": "X-Custom-Header1, X-Custom-Header2"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "accountSid_authToken": []
          }
        ],
        "operationId": "UpdateAuthTokenPromotion"
      }
    },
    "/v1/Consents/Bulk": {
      "servers": [
        {
          "url": "https://accounts.twilio.com"
        }
      ],
      "description": "",
      "x-twilio": {
        "defaultOutputProperties": [
          "items"
        ],
        "mountName": "bulk_consents",
        "className": "bulk_consents",
        "pathType": "list"
      },
      "post": {
        "description": "",
        "summary": "",
        "tags": [
          "AccountsV1BulkConsents"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/accounts.v1.bulk_consents"
                },
                "examples": {
                  "post": {
                    "value": {
                      "items": [
                        {
                          "correlation_id": "ad388b5a46b33b874b0d41f7226db2ef",
                          "error_code": 0,
                          "error_messages": []
                        },
                        {
                          "correlation_id": "02520cfa6c432f0e3ec3a38c122d428d",
                          "error_code": 30646,
                          "error_messages": [
                            "INVALID_CONTACT_ID",
                            "INVALID_DATE_OF_CONSENT"
                          ]
                        }
                      ]
                    }
                  }
                }
              }
            },
            "headers": {
              "Access-Control-Allow-Origin": {
                "description": "Specify the origin(s) allowed to access the resource",
                "schema": {
                  "type": "string"
                },
                "example": "*"
              },
              "Access-Control-Allow-Methods": {
                "description": "Specify the HTTP methods allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "POST, OPTIONS"
              },
              "Access-Control-Allow-Headers": {
                "description": "Specify the headers allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "Content-Type, Authorization"
              },
              "Access-Control-Allow-Credentials": {
                "description": "Indicates whether the browser should include credentials",
                "schema": {
                  "type": "boolean"
                }
              },
              "Access-Control-Expose-Headers": {
                "description": "Headers exposed to the client",
                "schema": {
                  "type": "string",
                  "example": "X-Custom-Header1, X-Custom-Header2"
                }
              }
            },
            "description": "Created"
          }
        },
        "security": [
          {
            "accountSid_authToken": []
          }
        ],
        "operationId": "CreateBulkConsents",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "title": "CreateBulkConsentsRequest",
                "properties": {
                  "Items": {
                    "type": "array",
                    "items": {},
                    "description": "This is a list of objects that describes a contact's opt-in status. Each object contains the following fields: `contact_id`, which must be a string representing phone number in [E.164 format](https://www.twilio.com/docs/glossary/what-e164); `correlation_id`, a unique 32-character UUID used to uniquely map the request item with the response item; `sender_id`, which can be either a valid messaging service SID or a from phone number; `status`, a string representing the consent status. Can be one of [`opt-in`, `opt-out`]; `source`, a string indicating the medium through which the consent was collected. Can be one of [`website`, `offline`, `opt-in-message`, `opt-out-message`, `others`]; `date_of_consent`, an optional datetime string field in ISO-8601 format that captures the exact date and time when the user gave or revoked consent. If not provided, it will be empty."
                  }
                },
                "required": [
                  "Items"
                ]
              },
              "examples": {
                "post": {
                  "value": {
                    "Items": [
                      "{\"contact_id\":\"+19999999999\",\"correlation_id\":\"ad388b5a46b33b874b0d41f7226db2ef\",\"sender_id\":\"MG00000000000000000000000000000001\",\"date_of_consent\":\"2025-02-28T10:05:27Z\",\"status\":\"opt-out\",\"source\":\"website\"}",
                      "{\"contact_id\":\"+19\",\"correlation_id\":\"02520cfa6c432f0e3ec3a38c122d428d\",\"sender_id\":\"123456\",\"date_of_consent\":\"2025-03-25\",\"status\":\"opt-in\",\"source\":\"opt-in-message\"}"
                    ]
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/Contacts/Bulk": {
      "servers": [
        {
          "url": "https://accounts.twilio.com"
        }
      ],
      "description": "",
      "x-twilio": {
        "defaultOutputProperties": [
          "items"
        ],
        "mountName": "bulk_contacts",
        "className": "bulk_contacts",
        "pathType": "list"
      },
      "post": {
        "description": "",
        "summary": "",
        "tags": [
          "AccountsV1BulkContacts"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/accounts.v1.bulk_contacts"
                },
                "examples": {
                  "post": {
                    "value": {
                      "items": [
                        {
                          "correlation_id": "ad388b5a46b33b874b0d41f7226db2eh",
                          "error_code": 0,
                          "error_messages": []
                        },
                        {
                          "correlation_id": "02520cfa6c432f0e3ec3a38c122d428a",
                          "error_code": 30647,
                          "error_messages": [
                            "INVALID_CONTACT_ID"
                          ]
                        }
                      ]
                    }
                  }
                }
              }
            },
            "headers": {
              "Access-Control-Allow-Origin": {
                "description": "Specify the origin(s) allowed to access the resource",
                "schema": {
                  "type": "string"
                },
                "example": "*"
              },
              "Access-Control-Allow-Methods": {
                "description": "Specify the HTTP methods allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "POST, OPTIONS"
              },
              "Access-Control-Allow-Headers": {
                "description": "Specify the headers allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "Content-Type, Authorization"
              },
              "Access-Control-Allow-Credentials": {
                "description": "Indicates whether the browser should include credentials",
                "schema": {
                  "type": "boolean"
                }
              },
              "Access-Control-Expose-Headers": {
                "description": "Headers exposed to the client",
                "schema": {
                  "type": "string",
                  "example": "X-Custom-Header1, X-Custom-Header2"
                }
              }
            },
            "description": "Created"
          }
        },
        "security": [
          {
            "accountSid_authToken": []
          }
        ],
        "operationId": "CreateBulkContacts",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "title": "CreateBulkContactsRequest",
                "properties": {
                  "Items": {
                    "type": "array",
                    "items": {},
                    "description": "A list of objects where each object represents a contact's details. Each object includes the following fields: `contact_id`, which must be a string representing phone number in [E.164 format](https://www.twilio.com/docs/glossary/what-e164); `correlation_id`, a unique 32-character UUID that maps the response to the original request; `country_iso_code`, a string representing the country using the ISO format (e.g., US for the United States); and `zip_code`, a string representing the postal code."
                  }
                },
                "required": [
                  "Items"
                ]
              },
              "examples": {
                "post": {
                  "value": {
                    "Items": [
                      "{\"contact_id\":\"+19999999999\",\"correlation_id\":\"ad388b5a46b33b874b0d41f7226db2eh\",\"country_iso_code\":\"US\",\"zip_code\":\"12345\"}",
                      "{\"contact_id\":\"+19\",\"correlation_id\":\"02520cfa6c432f0e3ec3a38c122d428a\",\"country_iso_code\":\"US\",\"zip_code\":\"12345\"}"
                    ]
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/Credentials": {
      "servers": [
        {
          "url": "https://accounts.twilio.com"
        }
      ],
      "description": "",
      "x-twilio": {
        "defaultOutputProperties": [],
        "pathType": "list"
      }
    },
    "/v1/Credentials/AWS": {
      "servers": [
        {
          "url": "https://accounts.twilio.com"
        }
      ],
      "description": "User provided AWS keys",
      "x-twilio": {
        "defaultOutputProperties": [
          "sid",
          "friendly_name",
          "date_created"
        ],
        "parent": "/Credentials",
        "pathType": "list"
      },
      "get": {
        "description": "Retrieves a collection of AWS Credentials belonging to the account used to make the request",
        "summary": "Retrieves a collection of AWS Credentials belonging to the account used to make the request",
        "tags": [
          "AccountsV1Aws"
        ],
        "parameters": [
          {
            "name": "PageSize",
            "in": "query",
            "description": "How many resources to return in each list page. The default is 50, and the maximum is 1000.",
            "schema": {
              "type": "integer",
              "format": "int64",
              "minimum": 1,
              "maximum": 1000
            }
          },
          {
            "name": "Page",
            "in": "query",
            "description": "The page index. This value is simply for client state.",
            "schema": {
              "type": "integer",
              "minimum": 0
            }
          },
          {
            "name": "PageToken",
            "in": "query",
            "description": "The page token. This is provided by the API.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "credentials": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/accounts.v1.credential.credential_aws"
                      }
                    },
                    "meta": {
                      "properties": {
                        "first_page_url": {
                          "format": "uri",
                          "type": "string"
                        },
                        "key": {
                          "type": "string"
                        },
                        "next_page_url": {
                          "format": "uri",
                          "nullable": true,
                          "type": "string"
                        },
                        "page": {
                          "type": "integer"
                        },
                        "page_size": {
                          "type": "integer"
                        },
                        "previous_page_url": {
                          "format": "uri",
                          "nullable": true,
                          "type": "string"
                        },
                        "url": {
                          "format": "uri",
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "title": "ListCredentialAwsResponse"
                },
                "examples": {
                  "readEmpty": {
                    "value": {
                      "credentials": [],
                      "meta": {
                        "first_page_url": "https://accounts.twilio.com/v1/Credentials/AWS?PageSize=50&Page=0",
                        "key": "credentials",
                        "next_page_url": null,
                        "page": 0,
                        "page_size": 50,
                        "previous_page_url": null,
                        "url": "https://accounts.twilio.com/v1/Credentials/AWS?PageSize=50&Page=0"
                      }
                    }
                  },
                  "readFull": {
                    "value": {
                      "credentials": [
                        {
                          "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
                          "date_created": "2015-07-31T04:00:00Z",
                          "date_updated": "2015-07-31T04:00:00Z",
                          "friendly_name": "friendly_name",
                          "sid": "CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
                          "url": "https://accounts.twilio.com/v1/Credentials/AWS/CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
                        }
                      ],
                      "meta": {
                        "first_page_url": "https://accounts.twilio.com/v1/Credentials/AWS?PageSize=50&Page=0",
                        "key": "credentials",
                        "next_page_url": null,
                        "page": 0,
                        "page_size": 50,
                        "previous_page_url": null,
                        "url": "https://accounts.twilio.com/v1/Credentials/AWS?PageSize=50&Page=0"
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "Access-Control-Allow-Origin": {
                "description": "Specify the origin(s) allowed to access the resource",
                "schema": {
                  "type": "string"
                },
                "example": "*"
              },
              "Access-Control-Allow-Methods": {
                "description": "Specify the HTTP methods allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "POST, OPTIONS"
              },
              "Access-Control-Allow-Headers": {
                "description": "Specify the headers allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "Content-Type, Authorization"
              },
              "Access-Control-Allow-Credentials": {
                "description": "Indicates whether the browser should include credentials",
                "schema": {
                  "type": "boolean"
                }
              },
              "Access-Control-Expose-Headers": {
                "description": "Headers exposed to the client",
                "schema": {
                  "type": "string",
                  "example": "X-Custom-Header1, X-Custom-Header2"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "accountSid_authToken": []
          }
        ],
        "operationId": "ListCredentialAws"
      },
      "post": {
        "description": "Create a new AWS Credential",
        "summary": "Create a new AWS Credential",
        "tags": [
          "AccountsV1Aws"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/accounts.v1.credential.credential_aws"
                },
                "examples": {
                  "create": {
                    "value": {
                      "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
                      "date_created": "2015-07-31T04:00:00Z",
                      "date_updated": "2015-07-31T04:00:00Z",
                      "friendly_name": "friendly_name",
                      "sid": "CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
                      "url": "https://accounts.twilio.com/v1/Credentials/AWS/CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
                    }
                  }
                }
              }
            },
            "headers": {
              "Access-Control-Allow-Origin": {
                "description": "Specify the origin(s) allowed to access the resource",
                "schema": {
                  "type": "string"
                },
                "example": "*"
              },
              "Access-Control-Allow-Methods": {
                "description": "Specify the HTTP methods allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "POST, OPTIONS"
              },
              "Access-Control-Allow-Headers": {
                "description": "Specify the headers allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "Content-Type, Authorization"
              },
              "Access-Control-Allow-Credentials": {
                "description": "Indicates whether the browser should include credentials",
                "schema": {
                  "type": "boolean"
                }
              },
              "Access-Control-Expose-Headers": {
                "description": "Headers exposed to the client",
                "schema": {
                  "type": "string",
                  "example": "X-Custom-Header1, X-Custom-Header2"
                }
              }
            },
            "description": "Created"
          }
        },
        "security": [
          {
            "accountSid_authToken": []
          }
        ],
        "operationId": "CreateCredentialAws",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "title": "CreateCredentialAwsRequest",
                "properties": {
                  "Credentials": {
                    "type": "string",
                    "description": "A string that contains the AWS access credentials in the format `<AWS_ACCESS_KEY_ID>:<AWS_SECRET_ACCESS_KEY>`. For example, `AKIAIOSFODNN7EXAMPLE:wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`"
                  },
                  "FriendlyName": {
                    "type": "string",
                    "description": "A descriptive string that you create to describe the resource. It can be up to 64 characters long."
                  },
                  "AccountSid": {
                    "type": "string",
                    "minLength": 34,
                    "maxLength": 34,
                    "pattern": "^AC[0-9a-fA-F]{32}$",
                    "description": "The SID of the Subaccount that this Credential should be associated with. Must be a valid Subaccount of the account issuing the request."
                  }
                },
                "required": [
                  "Credentials"
                ]
              },
              "examples": {
                "create": {
                  "value": {
                    "AccountSid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
                    "FriendlyName": "friendly_name",
                    "Credentials": "aws_credentials"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/Credentials/AWS/{Sid}": {
      "servers": [
        {
          "url": "https://accounts.twilio.com"
        }
      ],
      "description": "User provided AWS keys",
      "x-twilio": {
        "defaultOutputProperties": [
          "sid",
          "friendly_name",
          "date_created"
        ],
        "parent": "/Credentials",
        "pathType": "instance"
      },
      "get": {
        "description": "Fetch the AWS credentials specified by the provided Credential Sid",
        "summary": "Fetch the AWS credentials specified by the provided Credential Sid",
        "tags": [
          "AccountsV1Aws"
        ],
        "parameters": [
          {
            "name": "Sid",
            "in": "path",
            "description": "The Twilio-provided string that uniquely identifies the AWS resource to fetch.",
            "schema": {
              "type": "string",
              "minLength": 34,
              "maxLength": 34,
              "pattern": "^CR[0-9a-fA-F]{32}$"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/accounts.v1.credential.credential_aws"
                },
                "examples": {
                  "fetch": {
                    "value": {
                      "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
                      "date_created": "2015-07-31T04:00:00Z",
                      "date_updated": "2015-07-31T04:00:00Z",
                      "friendly_name": "friendly_name",
                      "sid": "CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
                      "url": "https://accounts.twilio.com/v1/Credentials/AWS/CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
                    }
                  }
                }
              }
            },
            "headers": {
              "Access-Control-Allow-Origin": {
                "description": "Specify the origin(s) allowed to access the resource",
                "schema": {
                  "type": "string"
                },
                "example": "*"
              },
              "Access-Control-Allow-Methods": {
                "description": "Specify the HTTP methods allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "POST, OPTIONS"
              },
              "Access-Control-Allow-Headers": {
                "description": "Specify the headers allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "Content-Type, Authorization"
              },
              "Access-Control-Allow-Credentials": {
                "description": "Indicates whether the browser should include credentials",
                "schema": {
                  "type": "boolean"
                }
              },
              "Access-Control-Expose-Headers": {
                "description": "Headers exposed to the client",
                "schema": {
                  "type": "string",
                  "example": "X-Custom-Header1, X-Custom-Header2"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "accountSid_authToken": []
          }
        ],
        "operationId": "FetchCredentialAws"
      },
      "post": {
        "description": "Modify the properties of a given Account",
        "summary": "Modify the properties of a given Account",
        "tags": [
          "AccountsV1Aws"
        ],
        "parameters": [
          {
            "name": "Sid",
            "in": "path",
            "description": "The Twilio-provided string that uniquely identifies the AWS resource to update.",
            "schema": {
              "type": "string",
              "minLength": 34,
              "maxLength": 34,
              "pattern": "^CR[0-9a-fA-F]{32}$"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/accounts.v1.credential.credential_aws"
                },
                "examples": {
                  "update": {
                    "value": {
                      "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
                      "date_created": "2015-07-31T04:00:00Z",
                      "date_updated": "2015-07-31T04:00:00Z",
                      "friendly_name": "friendly_name",
                      "sid": "CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
                      "url": "https://accounts.twilio.com/v1/Credentials/AWS/CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
                    }
                  }
                }
              }
            },
            "headers": {
              "Access-Control-Allow-Origin": {
                "description": "Specify the origin(s) allowed to access the resource",
                "schema": {
                  "type": "string"
                },
                "example": "*"
              },
              "Access-Control-Allow-Methods": {
                "description": "Specify the HTTP methods allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "POST, OPTIONS"
              },
              "Access-Control-Allow-Headers": {
                "description": "Specify the headers allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "Content-Type, Authorization"
              },
              "Access-Control-Allow-Credentials": {
                "description": "Indicates whether the browser should include credentials",
                "schema": {
                  "type": "boolean"
                }
              },
              "Access-Control-Expose-Headers": {
                "description": "Headers exposed to the client",
                "schema": {
                  "type": "string",
                  "example": "X-Custom-Header1, X-Custom-Header2"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "accountSid_authToken": []
          }
        ],
        "operationId": "UpdateCredentialAws",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "title": "UpdateCredentialAwsRequest",
                "properties": {
                  "FriendlyName": {
                    "type": "string",
                    "description": "A descriptive string that you create to describe the resource. It can be up to 64 characters long."
                  }
                }
              },
              "examples": {
                "update": {
                  "value": {
                    "FriendlyName": "friendly_name",
                    "Credentials": "aws_credentials"
                  }
                }
              }
            }
          }
        }
      },
      "delete": {
        "description": "Delete a Credential from your account",
        "summary": "Delete a Credential from your account",
        "tags": [
          "AccountsV1Aws"
        ],
        "parameters": [
          {
            "name": "Sid",
            "in": "path",
            "description": "The Twilio-provided string that uniquely identifies the AWS resource to delete.",
            "schema": {
              "type": "string",
              "minLength": 34,
              "maxLength": 34,
              "pattern": "^CR[0-9a-fA-F]{32}$"
            },
            "required": true
          }
        ],
        "responses": {
          "204": {
            "description": "The resource was deleted successfully."
          }
        },
        "security": [
          {
            "accountSid_authToken": []
          }
        ],
        "operationId": "DeleteCredentialAws"
      }
    },
    "/v1/Credentials/PublicKeys": {
      "servers": [
        {
          "url": "https://accounts.twilio.com"
        }
      ],
      "description": "User provided public keys",
      "x-twilio": {
        "defaultOutputProperties": [
          "sid",
          "friendly_name",
          "date_created"
        ],
        "parent": "/Credentials",
        "mountName": "public_key",
        "pathType": "list"
      },
      "get": {
        "description": "Retrieves a collection of Public Key Credentials belonging to the account used to make the request",
        "summary": "Retrieves a collection of Public Key Credentials belonging to the account used to make the request",
        "tags": [
          "AccountsV1PublicKey"
        ],
        "parameters": [
          {
            "name": "PageSize",
            "in": "query",
            "description": "How many resources to return in each list page. The default is 50, and the maximum is 1000.",
            "schema": {
              "type": "integer",
              "format": "int64",
              "minimum": 1,
              "maximum": 1000
            }
          },
          {
            "name": "Page",
            "in": "query",
            "description": "The page index. This value is simply for client state.",
            "schema": {
              "type": "integer",
              "minimum": 0
            }
          },
          {
            "name": "PageToken",
            "in": "query",
            "description": "The page token. This is provided by the API.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "credentials": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/accounts.v1.credential.credential_public_key"
                      }
                    },
                    "meta": {
                      "properties": {
                        "first_page_url": {
                          "format": "uri",
                          "type": "string"
                        },
                        "key": {
                          "type": "string"
                        },
                        "next_page_url": {
                          "format": "uri",
                          "nullable": true,
                          "type": "string"
                        },
                        "page": {
                          "type": "integer"
                        },
                        "page_size": {
                          "type": "integer"
                        },
                        "previous_page_url": {
                          "format": "uri",
                          "nullable": true,
                          "type": "string"
                        },
                        "url": {
                          "format": "uri",
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "title": "ListCredentialPublicKeyResponse"
                },
                "examples": {
                  "readEmpty": {
                    "value": {
                      "credentials": [],
                      "meta": {
                        "first_page_url": "https://accounts.twilio.com/v1/Credentials/PublicKeys?PageSize=50&Page=0",
                        "key": "credentials",
                        "next_page_url": null,
                        "page": 0,
                        "page_size": 50,
                        "previous_page_url": null,
                        "url": "https://accounts.twilio.com/v1/Credentials/PublicKeys?PageSize=50&Page=0"
                      }
                    }
                  },
                  "readFull": {
                    "value": {
                      "credentials": [
                        {
                          "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
                          "date_created": "2015-07-31T04:00:00Z",
                          "date_updated": "2015-07-31T04:00:00Z",
                          "friendly_name": "friendly_name",
                          "sid": "CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
                          "url": "https://accounts.twilio.com/v1/Credentials/PublicKeys/CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
                        }
                      ],
                      "meta": {
                        "first_page_url": "https://accounts.twilio.com/v1/Credentials/PublicKeys?PageSize=50&Page=0",
                        "key": "credentials",
                        "next_page_url": null,
                        "page": 0,
                        "page_size": 50,
                        "previous_page_url": null,
                        "url": "https://accounts.twilio.com/v1/Credentials/PublicKeys?PageSize=50&Page=0"
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "Access-Control-Allow-Origin": {
                "description": "Specify the origin(s) allowed to access the resource",
                "schema": {
                  "type": "string"
                },
                "example": "*"
              },
              "Access-Control-Allow-Methods": {
                "description": "Specify the HTTP methods allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "POST, OPTIONS"
              },
              "Access-Control-Allow-Headers": {
                "description": "Specify the headers allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "Content-Type, Authorization"
              },
              "Access-Control-Allow-Credentials": {
                "description": "Indicates whether the browser should include credentials",
                "schema": {
                  "type": "boolean"
                }
              },
              "Access-Control-Expose-Headers": {
                "description": "Headers exposed to the client",
                "schema": {
                  "type": "string",
                  "example": "X-Custom-Header1, X-Custom-Header2"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "accountSid_authToken": []
          }
        ],
        "operationId": "ListCredentialPublicKey"
      },
      "post": {
        "description": "Create a new Public Key Credential",
        "summary": "Create a new Public Key Credential",
        "tags": [
          "AccountsV1PublicKey"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/accounts.v1.credential.credential_public_key"
                },
                "examples": {
                  "create": {
                    "value": {
                      "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
                      "date_created": "2015-07-31T04:00:00Z",
                      "date_updated": "2015-07-31T04:00:00Z",
                      "friendly_name": "friendly_name",
                      "sid": "CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
                      "url": "https://accounts.twilio.com/v1/Credentials/PublicKeys/CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
                    }
                  }
                }
              }
            },
            "headers": {
              "Access-Control-Allow-Origin": {
                "description": "Specify the origin(s) allowed to access the resource",
                "schema": {
                  "type": "string"
                },
                "example": "*"
              },
              "Access-Control-Allow-Methods": {
                "description": "Specify the HTTP methods allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "POST, OPTIONS"
              },
              "Access-Control-Allow-Headers": {
                "description": "Specify the headers allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "Content-Type, Authorization"
              },
              "Access-Control-Allow-Credentials": {
                "description": "Indicates whether the browser should include credentials",
                "schema": {
                  "type": "boolean"
                }
              },
              "Access-Control-Expose-Headers": {
                "description": "Headers exposed to the client",
                "schema": {
                  "type": "string",
                  "example": "X-Custom-Header1, X-Custom-Header2"
                }
              }
            },
            "description": "Created"
          }
        },
        "security": [
          {
            "accountSid_authToken": []
          }
        ],
        "operationId": "CreateCredentialPublicKey",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "title": "CreateCredentialPublicKeyRequest",
                "properties": {
                  "PublicKey": {
                    "type": "string",
                    "description": "A URL encoded representation of the public key. For example, `-----BEGIN PUBLIC KEY-----MIIBIjANB.pa9xQIDAQAB-----END PUBLIC KEY-----`"
                  },
                  "FriendlyName": {
                    "type": "string",
                    "description": "A descriptive string that you create to describe the resource. It can be up to 64 characters long."
                  },
                  "AccountSid": {
                    "type": "string",
                    "minLength": 34,
                    "maxLength": 34,
                    "pattern": "^AC[0-9a-fA-F]{32}$",
                    "description": "The SID of the Subaccount that this Credential should be associated with. Must be a valid Subaccount of the account issuing the request"
                  }
                },
                "required": [
                  "PublicKey"
                ]
              },
              "examples": {
                "create": {
                  "value": {
                    "AccountSid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
                    "FriendlyName": "friendly_name",
                    "PublicKey": "public_key"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/Credentials/PublicKeys/{Sid}": {
      "servers": [
        {
          "url": "https://accounts.twilio.com"
        }
      ],
      "description": "User provided public keys",
      "x-twilio": {
        "defaultOutputProperties": [
          "sid",
          "friendly_name",
          "date_created"
        ],
        "parent": "/Credentials",
        "mountName": "public_key",
        "pathType": "instance"
      },
      "get": {
        "description": "Fetch the public key specified by the provided Credential Sid",
        "summary": "Fetch the public key specified by the provided Credential Sid",
        "tags": [
          "AccountsV1PublicKey"
        ],
        "parameters": [
          {
            "name": "Sid",
            "in": "path",
            "description": "The Twilio-provided string that uniquely identifies the PublicKey resource to fetch.",
            "schema": {
              "type": "string",
              "minLength": 34,
              "maxLength": 34,
              "pattern": "^CR[0-9a-fA-F]{32}$"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/accounts.v1.credential.credential_public_key"
                },
                "examples": {
                  "fetch": {
                    "value": {
                      "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
                      "date_created": "2015-07-31T04:00:00Z",
                      "date_updated": "2015-07-31T04:00:00Z",
                      "friendly_name": "friendly_name",
                      "sid": "CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
                      "url": "https://accounts.twilio.com/v1/Credentials/PublicKeys/CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
                    }
                  }
                }
              }
            },
            "headers": {
              "Access-Control-Allow-Origin": {
                "description": "Specify the origin(s) allowed to access the resource",
                "schema": {
                  "type": "string"
                },
                "example": "*"
              },
              "Access-Control-Allow-Methods": {
                "description": "Specify the HTTP methods allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "POST, OPTIONS"
              },
              "Access-Control-Allow-Headers": {
                "description": "Specify the headers allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "Content-Type, Authorization"
              },
              "Access-Control-Allow-Credentials": {
                "description": "Indicates whether the browser should include credentials",
                "schema": {
                  "type": "boolean"
                }
              },
              "Access-Control-Expose-Headers": {
                "description": "Headers exposed to the client",
                "schema": {
                  "type": "string",
                  "example": "X-Custom-Header1, X-Custom-Header2"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "accountSid_authToken": []
          }
        ],
        "operationId": "FetchCredentialPublicKey"
      },
      "post": {
        "description": "Modify the properties of a given Account",
        "summary": "Modify the properties of a given Account",
        "tags": [
          "AccountsV1PublicKey"
        ],
        "parameters": [
          {
            "name": "Sid",
            "in": "path",
            "description": "The Twilio-provided string that uniquely identifies the PublicKey resource to update.",
            "schema": {
              "type": "string",
              "minLength": 34,
              "maxLength": 34,
              "pattern": "^CR[0-9a-fA-F]{32}$"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/accounts.v1.credential.credential_public_key"
                },
                "examples": {
                  "update": {
                    "value": {
                      "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
                      "date_created": "2015-07-31T04:00:00Z",
                      "date_updated": "2015-07-31T04:00:00Z",
                      "friendly_name": "friendly_name",
                      "sid": "CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
                      "url": "https://accounts.twilio.com/v1/Credentials/PublicKeys/CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
                    }
                  }
                }
              }
            },
            "headers": {
              "Access-Control-Allow-Origin": {
                "description": "Specify the origin(s) allowed to access the resource",
                "schema": {
                  "type": "string"
                },
                "example": "*"
              },
              "Access-Control-Allow-Methods": {
                "description": "Specify the HTTP methods allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "POST, OPTIONS"
              },
              "Access-Control-Allow-Headers": {
                "description": "Specify the headers allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "Content-Type, Authorization"
              },
              "Access-Control-Allow-Credentials": {
                "description": "Indicates whether the browser should include credentials",
                "schema": {
                  "type": "boolean"
                }
              },
              "Access-Control-Expose-Headers": {
                "description": "Headers exposed to the client",
                "schema": {
                  "type": "string",
                  "example": "X-Custom-Header1, X-Custom-Header2"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "accountSid_authToken": []
          }
        ],
        "operationId": "UpdateCredentialPublicKey",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "title": "UpdateCredentialPublicKeyRequest",
                "properties": {
                  "FriendlyName": {
                    "type": "string",
                    "description": "A descriptive string that you create to describe the resource. It can be up to 64 characters long."
                  }
                }
              },
              "examples": {
                "update": {
                  "value": {
                    "FriendlyName": "friendly_name",
                    "PublicKey": "public_key"
                  }
                }
              }
            }
          }
        }
      },
      "delete": {
        "description": "Delete a Credential from your account",
        "summary": "Delete a Credential from your account",
        "tags": [
          "AccountsV1PublicKey"
        ],
        "parameters": [
          {
            "name": "Sid",
            "in": "path",
            "description": "The Twilio-provided string that uniquely identifies the PublicKey resource to delete.",
            "schema": {
              "type": "string",
              "minLength": 34,
              "maxLength": 34,
              "pattern": "^CR[0-9a-fA-F]{32}$"
            },
            "required": true
          }
        ],
        "responses": {
          "204": {
            "description": "The resource was deleted successfully."
          }
        },
        "security": [
          {
            "accountSid_authToken": []
          }
        ],
        "operationId": "DeleteCredentialPublicKey"
      }
    },
    "/v1/Messaging/GeoPermissions": {
      "servers": [
        {
          "url": "https://accounts.twilio.com"
        }
      ],
      "description": "Manage Geo Permissions for each country.",
      "x-twilio": {
        "defaultOutputProperties": [
          "permissions"
        ],
        "mountName": "messaging_geopermissions",
        "className": "messaging_geopermissions",
        "pathType": "list"
      },
      "patch": {
        "description": "",
        "summary": "",
        "tags": [
          "AccountsV1MessagingGeopermissions"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/accounts.v1.messaging_geopermissions"
                },
                "examples": {
                  "update": {
                    "value": {
                      "permissions": [
                        {
                          "country_code": "IN",
                          "type": "country",
                          "enabled": false,
                          "error_code": 0,
                          "error_messages": []
                        },
                        {
                          "country_code": "PK",
                          "type": "country",
                          "enabled": true,
                          "error_code": 30649,
                          "error_messages": [
                            "High risk country permission cannot be updated"
                          ]
                        }
                      ]
                    }
                  }
                }
              }
            },
            "headers": {
              "Access-Control-Allow-Origin": {
                "description": "Specify the origin(s) allowed to access the resource",
                "schema": {
                  "type": "string"
                },
                "example": "*"
              },
              "Access-Control-Allow-Methods": {
                "description": "Specify the HTTP methods allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "POST, OPTIONS"
              },
              "Access-Control-Allow-Headers": {
                "description": "Specify the headers allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "Content-Type, Authorization"
              },
              "Access-Control-Allow-Credentials": {
                "description": "Indicates whether the browser should include credentials",
                "schema": {
                  "type": "boolean"
                }
              },
              "Access-Control-Expose-Headers": {
                "description": "Headers exposed to the client",
                "schema": {
                  "type": "string",
                  "example": "X-Custom-Header1, X-Custom-Header2"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "accountSid_authToken": []
          }
        ],
        "operationId": "UpdateMessagingGeopermissions",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "title": "UpdateMessagingGeopermissionsRequest",
                "properties": {
                  "Permissions": {
                    "type": "array",
                    "items": {},
                    "description": "A list of objects where each object represents the Geo Permission to be updated. Each object contains the following fields: `country_code`, unique code for each country of Geo Permission; `type`, permission type of the Geo Permission i.e. country; `enabled`, configure true for enabling the Geo Permission, false for disabling the Geo Permission."
                  }
                },
                "required": [
                  "Permissions"
                ]
              },
              "examples": {
                "update": {
                  "value": {
                    "Permissions": [
                      "{\"country_code\": \"IN\",\"type\": \"country\", \"enabled\": false}",
                      "{\"country_code\": \"PK\",\"type\": \"country\", \"enabled\": true}"
                    ]
                  }
                }
              }
            }
          }
        }
      },
      "get": {
        "description": "",
        "summary": "",
        "tags": [
          "AccountsV1MessagingGeopermissions"
        ],
        "parameters": [
          {
            "name": "CountryCode",
            "in": "query",
            "description": "The country code to filter the geo permissions. If provided, only the geo permission for the specified country will be returned.",
            "schema": {
              "type": "string"
            },
            "examples": {
              "get": {
                "value": "IN,PK,US"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/accounts.v1.messaging_geopermissions"
                },
                "examples": {
                  "get": {
                    "value": {
                      "permissions": [
                        {
                          "country_code": "IN",
                          "type": "country",
                          "enabled": false,
                          "prefix": "+91",
                          "message": ""
                        },
                        {
                          "country_code": "PK",
                          "type": "country",
                          "enabled": true,
                          "prefix": "+92",
                          "message": "High Risk Country"
                        }
                      ]
                    }
                  }
                }
              }
            },
            "headers": {
              "Access-Control-Allow-Origin": {
                "description": "Specify the origin(s) allowed to access the resource",
                "schema": {
                  "type": "string"
                },
                "example": "*"
              },
              "Access-Control-Allow-Methods": {
                "description": "Specify the HTTP methods allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "POST, OPTIONS"
              },
              "Access-Control-Allow-Headers": {
                "description": "Specify the headers allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "Content-Type, Authorization"
              },
              "Access-Control-Allow-Credentials": {
                "description": "Indicates whether the browser should include credentials",
                "schema": {
                  "type": "boolean"
                }
              },
              "Access-Control-Expose-Headers": {
                "description": "Headers exposed to the client",
                "schema": {
                  "type": "string",
                  "example": "X-Custom-Header1, X-Custom-Header2"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "accountSid_authToken": []
          }
        ],
        "operationId": "FetchMessagingGeopermissions"
      }
    },
    "/v1/SafeList/Numbers": {
      "servers": [
        {
          "url": "https://accounts.twilio.com"
        }
      ],
      "description": "",
      "x-twilio": {
        "defaultOutputProperties": [
          "sid",
          "phone_number"
        ],
        "mountName": "safelist",
        "pathType": "list"
      },
      "post": {
        "description": "Add a new phone number or phone number 1k prefix to SafeList.",
        "summary": "Add a new phone number or phone number 1k prefix to SafeList.",
        "tags": [
          "AccountsV1Safelist"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/accounts.v1.safelist"
                },
                "examples": {
                  "create": {
                    "value": {
                      "sid": "GNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
                      "phone_number": "+18001234567"
                    }
                  }
                }
              }
            },
            "headers": {
              "Access-Control-Allow-Origin": {
                "description": "Specify the origin(s) allowed to access the resource",
                "schema": {
                  "type": "string"
                },
                "example": "*"
              },
              "Access-Control-Allow-Methods": {
                "description": "Specify the HTTP methods allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "POST, OPTIONS"
              },
              "Access-Control-Allow-Headers": {
                "description": "Specify the headers allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "Content-Type, Authorization"
              },
              "Access-Control-Allow-Credentials": {
                "description": "Indicates whether the browser should include credentials",
                "schema": {
                  "type": "boolean"
                }
              },
              "Access-Control-Expose-Headers": {
                "description": "Headers exposed to the client",
                "schema": {
                  "type": "string",
                  "example": "X-Custom-Header1, X-Custom-Header2"
                }
              }
            },
            "description": "Created"
          }
        },
        "security": [
          {
            "accountSid_authToken": []
          }
        ],
        "operationId": "CreateSafelist",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "title": "CreateSafelistRequest",
                "properties": {
                  "PhoneNumber": {
                    "type": "string",
                    "description": "The phone number or phone number 1k prefix to be added in SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164)."
                  }
                },
                "required": [
                  "PhoneNumber"
                ]
              },
              "examples": {
                "create": {
                  "value": {
                    "PhoneNumber": "+18001234567"
                  }
                }
              }
            }
          }
        }
      },
      "get": {
        "description": "Check if a phone number or phone number 1k prefix exists in SafeList.",
        "summary": "Check if a phone number or phone number 1k prefix exists in SafeList.",
        "tags": [
          "AccountsV1Safelist"
        ],
        "parameters": [
          {
            "name": "PhoneNumber",
            "in": "query",
            "description": "The phone number or phone number 1k prefix to be fetched from SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164).",
            "schema": {
              "type": "string"
            },
            "x-twilio": {
              "pii": {
                "handling": "standard",
                "deleteSla": 0
              }
            },
            "examples": {
              "fetch": {
                "value": "+18001234567"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/accounts.v1.safelist"
                },
                "examples": {
                  "fetch": {
                    "value": {
                      "sid": "GNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
                      "phone_number": "+18001234567"
                    }
                  }
                }
              }
            },
            "headers": {
              "Access-Control-Allow-Origin": {
                "description": "Specify the origin(s) allowed to access the resource",
                "schema": {
                  "type": "string"
                },
                "example": "*"
              },
              "Access-Control-Allow-Methods": {
                "description": "Specify the HTTP methods allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "POST, OPTIONS"
              },
              "Access-Control-Allow-Headers": {
                "description": "Specify the headers allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "Content-Type, Authorization"
              },
              "Access-Control-Allow-Credentials": {
                "description": "Indicates whether the browser should include credentials",
                "schema": {
                  "type": "boolean"
                }
              },
              "Access-Control-Expose-Headers": {
                "description": "Headers exposed to the client",
                "schema": {
                  "type": "string",
                  "example": "X-Custom-Header1, X-Custom-Header2"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "accountSid_authToken": []
          }
        ],
        "operationId": "FetchSafelist"
      },
      "delete": {
        "description": "Remove a phone number or phone number 1k prefix from SafeList.",
        "summary": "Remove a phone number or phone number 1k prefix from SafeList.",
        "tags": [
          "AccountsV1Safelist"
        ],
        "parameters": [
          {
            "name": "PhoneNumber",
            "in": "query",
            "description": "The phone number or phone number 1k prefix to be removed from SafeList. Phone numbers must be in [E.164 format](https://www.twilio.com/docs/glossary/what-e164).",
            "schema": {
              "type": "string"
            },
            "x-twilio": {
              "pii": {
                "handling": "standard",
                "deleteSla": 0
              }
            },
            "examples": {
              "delete": {
                "value": "+18001234567"
              }
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The resource was deleted successfully."
          }
        },
        "security": [
          {
            "accountSid_authToken": []
          }
        ],
        "operationId": "DeleteSafelist"
      }
    },
    "/v1/AuthTokens/Secondary": {
      "servers": [
        {
          "url": "https://accounts.twilio.com"
        }
      ],
      "description": "Secondary Auth Token",
      "x-twilio": {
        "defaultOutputProperties": [
          "account_sid",
          "secondary_auth_token",
          "date_created"
        ],
        "mountName": "secondary_auth_token",
        "pathType": "instance"
      },
      "post": {
        "description": "Create a new secondary Auth Token",
        "summary": "Create a new secondary Auth Token",
        "tags": [
          "AccountsV1SecondaryAuthToken"
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/accounts.v1.secondary_auth_token"
                },
                "examples": {
                  "create": {
                    "value": {
                      "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
                      "date_created": "2015-07-31T04:00:00Z",
                      "date_updated": "2015-07-31T04:00:00Z",
                      "secondary_auth_token": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
                      "url": "https://accounts.twilio.com/v1/AuthTokens/Secondary"
                    }
                  }
                }
              }
            },
            "headers": {
              "Access-Control-Allow-Origin": {
                "description": "Specify the origin(s) allowed to access the resource",
                "schema": {
                  "type": "string"
                },
                "example": "*"
              },
              "Access-Control-Allow-Methods": {
                "description": "Specify the HTTP methods allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "POST, OPTIONS"
              },
              "Access-Control-Allow-Headers": {
                "description": "Specify the headers allowed when accessing the resource",
                "schema": {
                  "type": "string"
                },
                "example": "Content-Type, Authorization"
              },
              "Access-Control-Allow-Credentials": {
                "description": "Indicates whether the browser should include credentials",
                "schema": {
                  "type": "boolean"
                }
              },
              "Access-Control-Expose-Headers": {
                "description": "Headers exposed to the client",
                "schema": {
                  "type": "string",
                  "example": "X-Custom-Header1, X-Custom-Header2"
                }
              }
            },
            "description": "Created"
          }
        },
        "security": [
          {
            "accountSid_authToken": []
          }
        ],
        "operationId": "CreateSecondaryAuthToken"
      },
      "delete": {
        "description": "Delete the secondary Auth Token from your account",
        "summary": "Delete the secondary Auth Token from your account",
        "tags": [
          "AccountsV1SecondaryAuthToken"
        ],
        "responses": {
          "204": {
            "description": "The resource was deleted successfully."
          }
        },
        "security": [
          {
            "accountSid_authToken": []
          }
        ],
        "operationId": "DeleteSecondaryAuthToken"
      }
    }
  },
  "servers": [
    {
      "url": "https://accounts.twilio.com"
    }
  ],
  "tags": [
    {
      "name": "AccountsV1AuthTokenPromotion"
    },
    {
      "name": "AccountsV1Aws"
    },
    {
      "name": "AccountsV1BulkConsents"
    },
    {
      "name": "AccountsV1BulkContacts"
    },
    {
      "name": "AccountsV1Index"
    },
    {
      "name": "AccountsV1MessagingGeopermissions"
    },
    {
      "name": "AccountsV1PublicKey"
    },
    {
      "name": "AccountsV1Safelist"
    },
    {
      "name": "AccountsV1SecondaryAuthToken"
    },
    {
      "name": "AccountsV1Version"
    }
  ],
  "security": [
    {
      "accountSid_authToken": []
    }
  ]
}