{
  "opencollection": "1.0.0",
  "info": {
    "name": "Twilio - Accounts A2p Configuration API",
    "version": "1.52.0"
  },
  "items": [
    {
      "info": {
        "name": "Configuration",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "FetchConfiguration",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.twilio.com/v1/Configuration",
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Fetch the global configuration of conversations on your account"
        },
        {
          "info": {
            "name": "UpdateConfiguration",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://accounts.twilio.com/v1/Configuration",
            "body": {
              "type": "form-urlencoded",
              "data": []
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Update the global configuration of conversations on your account"
        },
        {
          "info": {
            "name": "ListConfigurationAddress",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.twilio.com/v1/Configuration/Addresses",
            "params": [
              {
                "name": "Type",
                "value": "",
                "type": "query",
                "description": "Filter the address configurations by its type. This value can be one of: `whatsapp`, `sms`."
              },
              {
                "name": "PageSize",
                "value": "",
                "type": "query",
                "description": "How many resources to return in each list page. The default is 50, and the maximum is 1000."
              },
              {
                "name": "Page",
                "value": "",
                "type": "query",
                "description": "The page index. This value is simply for client state."
              },
              {
                "name": "PageToken",
                "value": "",
                "type": "query",
                "description": "The page token. This is provided by the API."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Retrieve a list of address configurations for an account"
        },
        {
          "info": {
            "name": "CreateConfigurationAddress",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://accounts.twilio.com/v1/Configuration/Addresses",
            "body": {
              "type": "form-urlencoded",
              "data": []
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Create a new address configuration"
        },
        {
          "info": {
            "name": "FetchConfigurationAddress",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.twilio.com/v1/Configuration/Addresses/:Sid",
            "params": [
              {
                "name": "Sid",
                "value": "",
                "type": "path",
                "description": "The SID of the Address Configuration resource. This value can be either the `sid` or the `address` of the configuration"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Fetch an address configuration "
        },
        {
          "info": {
            "name": "UpdateConfigurationAddress",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://accounts.twilio.com/v1/Configuration/Addresses/:Sid",
            "params": [
              {
                "name": "Sid",
                "value": "",
                "type": "path",
                "description": "The SID of the Address Configuration resource. This value can be either the `sid` or the `address` of the configuration"
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Update an existing address configuration"
        },
        {
          "info": {
            "name": "DeleteConfigurationAddress",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://accounts.twilio.com/v1/Configuration/Addresses/:Sid",
            "params": [
              {
                "name": "Sid",
                "value": "",
                "type": "path",
                "description": "The SID of the Address Configuration resource. This value can be either the `sid` or the `address` of the configuration"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Remove an existing address configuration"
        },
        {
          "info": {
            "name": "FetchConfigurationWebhook",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.twilio.com/v1/Configuration/Webhooks",
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          }
        },
        {
          "info": {
            "name": "UpdateConfigurationWebhook",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://accounts.twilio.com/v1/Configuration/Webhooks",
            "body": {
              "type": "form-urlencoded",
              "data": []
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          }
        },
        {
          "info": {
            "name": "Twilio Fetch Flex Configuration",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.twilio.com/Configuration",
            "params": [
              {
                "name": "UiVersion",
                "value": "",
                "type": "query",
                "description": "The Flex UI version to fetch configuration for"
              }
            ]
          },
          "docs": "Retrieve the current Flex configuration including UI attributes, enabled channels, and runtime settings."
        },
        {
          "info": {
            "name": "Twilio Update Flex Configuration",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://accounts.twilio.com/Configuration",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the Flex configuration settings."
        }
      ]
    }
  ],
  "bundled": true
}