{
  "opencollection": "1.0.0",
  "info": {
    "name": "Twilio - Accounts A2p Commands API",
    "version": "1.52.0"
  },
  "items": [
    {
      "info": {
        "name": "Commands",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "FetchCommand",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.twilio.com/v1/Commands/:Sid",
            "params": [
              {
                "name": "Sid",
                "value": "",
                "type": "path",
                "description": "The SID of the Command resource to fetch."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Fetch a Command instance from your account."
        },
        {
          "info": {
            "name": "DeleteCommand",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://accounts.twilio.com/v1/Commands/:Sid",
            "params": [
              {
                "name": "Sid",
                "value": "",
                "type": "path",
                "description": "The SID of the Command resource to delete."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Delete a Command instance from your account."
        },
        {
          "info": {
            "name": "ListCommand",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.twilio.com/v1/Commands",
            "params": [
              {
                "name": "Sim",
                "value": "",
                "type": "query",
                "description": "The `sid` or `unique_name` of the [Sim resources](https://www.twilio.com/docs/iot/wireless/api/sim-resource) to read."
              },
              {
                "name": "Status",
                "value": "",
                "type": "query",
                "description": "The status of the resources to read. Can be: `queued`, `sent`, `delivered`, `received`, or `failed`."
              },
              {
                "name": "Direction",
                "value": "",
                "type": "query",
                "description": "Only return Commands with this direction value."
              },
              {
                "name": "Transport",
                "value": "",
                "type": "query",
                "description": "Only return Commands with this transport value. Can be: `sms` or `ip`."
              },
              {
                "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 Commands from your account."
        },
        {
          "info": {
            "name": "CreateCommand",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://accounts.twilio.com/v1/Commands",
            "body": {
              "type": "form-urlencoded",
              "data": []
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Send a Command to a Sim."
        }
      ]
    }
  ],
  "bundled": true
}