{
  "opencollection": "1.0.0",
  "info": {
    "name": "Twilio - Accounts A2p Sinks API",
    "version": "1.52.0"
  },
  "items": [
    {
      "info": {
        "name": "Sinks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "FetchSink",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.twilio.com/v1/Sinks/:Sid",
            "params": [
              {
                "name": "Sid",
                "value": "",
                "type": "path",
                "description": "A 34 character string that uniquely identifies this Sink."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Fetch a specific Sink."
        },
        {
          "info": {
            "name": "UpdateSink",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://accounts.twilio.com/v1/Sinks/:Sid",
            "params": [
              {
                "name": "Sid",
                "value": "",
                "type": "path",
                "description": "A 34 character string that uniquely identifies this Sink."
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Update a specific Sink"
        },
        {
          "info": {
            "name": "DeleteSink",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://accounts.twilio.com/v1/Sinks/:Sid",
            "params": [
              {
                "name": "Sid",
                "value": "",
                "type": "path",
                "description": "A 34 character string that uniquely identifies this Sink."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Delete a specific Sink."
        },
        {
          "info": {
            "name": "ListSink",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.twilio.com/v1/Sinks",
            "params": [
              {
                "name": "InUse",
                "value": "",
                "type": "query",
                "description": "A boolean query parameter filtering the results to return sinks used/not used by a subscription."
              },
              {
                "name": "Status",
                "value": "",
                "type": "query",
                "description": "A String query parameter filtering the results by status `initialized`, `validating`, `active` or `failed`."
              },
              {
                "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 paginated list of Sinks belonging to the account used to make the request."
        },
        {
          "info": {
            "name": "CreateSink",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://accounts.twilio.com/v1/Sinks",
            "body": {
              "type": "form-urlencoded",
              "data": []
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Create a new Sink"
        },
        {
          "info": {
            "name": "CreateSinkTest",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://accounts.twilio.com/v1/Sinks/:Sid/Test",
            "params": [
              {
                "name": "Sid",
                "value": "",
                "type": "path",
                "description": "A 34 character string that uniquely identifies the Sink to be Tested."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Create a new Sink Test Event for the given Sink."
        },
        {
          "info": {
            "name": "CreateSinkValidate",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://accounts.twilio.com/v1/Sinks/:Sid/Validate",
            "params": [
              {
                "name": "Sid",
                "value": "",
                "type": "path",
                "description": "A 34 character string that uniquely identifies the Sink being validated."
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Validate that a test event for a Sink was received."
        }
      ]
    }
  ],
  "bundled": true
}