{
  "opencollection": "1.0.0",
  "info": {
    "name": "Twilio - Accounts A2p Subscriptions API",
    "version": "1.52.0"
  },
  "items": [
    {
      "info": {
        "name": "Subscriptions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "ListSubscribedEvent",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.twilio.com/v1/Subscriptions/:SubscriptionSid/SubscribedEvents",
            "params": [
              {
                "name": "SubscriptionSid",
                "value": "",
                "type": "path",
                "description": "The unique SID identifier of the Subscription."
              },
              {
                "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 all Subscribed Event types for a Subscription."
        },
        {
          "info": {
            "name": "CreateSubscribedEvent",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://accounts.twilio.com/v1/Subscriptions/:SubscriptionSid/SubscribedEvents",
            "params": [
              {
                "name": "SubscriptionSid",
                "value": "",
                "type": "path",
                "description": "The unique SID identifier of the Subscription."
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Add an event type to a Subscription."
        },
        {
          "info": {
            "name": "FetchSubscribedEvent",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.twilio.com/v1/Subscriptions/:SubscriptionSid/SubscribedEvents/:Type",
            "params": [
              {
                "name": "SubscriptionSid",
                "value": "",
                "type": "path",
                "description": "The unique SID identifier of the Subscription."
              },
              {
                "name": "Type",
                "value": "",
                "type": "path",
                "description": "Type of event being subscribed to."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Read an Event for a Subscription."
        },
        {
          "info": {
            "name": "UpdateSubscribedEvent",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://accounts.twilio.com/v1/Subscriptions/:SubscriptionSid/SubscribedEvents/:Type",
            "params": [
              {
                "name": "SubscriptionSid",
                "value": "",
                "type": "path",
                "description": "The unique SID identifier of the Subscription."
              },
              {
                "name": "Type",
                "value": "",
                "type": "path",
                "description": "Type of event being subscribed to."
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Update an Event for a Subscription."
        },
        {
          "info": {
            "name": "DeleteSubscribedEvent",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://accounts.twilio.com/v1/Subscriptions/:SubscriptionSid/SubscribedEvents/:Type",
            "params": [
              {
                "name": "SubscriptionSid",
                "value": "",
                "type": "path",
                "description": "The unique SID identifier of the Subscription."
              },
              {
                "name": "Type",
                "value": "",
                "type": "path",
                "description": "Type of event being subscribed to."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Remove an event type from a Subscription."
        },
        {
          "info": {
            "name": "ListSubscription",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.twilio.com/v1/Subscriptions",
            "params": [
              {
                "name": "SinkSid",
                "value": "",
                "type": "query",
                "description": "The SID of the sink that the list of Subscriptions should be filtered by."
              },
              {
                "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 Subscriptions belonging to the account used to make the request."
        },
        {
          "info": {
            "name": "CreateSubscription",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://accounts.twilio.com/v1/Subscriptions",
            "body": {
              "type": "form-urlencoded",
              "data": []
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Create a new Subscription."
        },
        {
          "info": {
            "name": "FetchSubscription",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://accounts.twilio.com/v1/Subscriptions/:Sid",
            "params": [
              {
                "name": "Sid",
                "value": "",
                "type": "path",
                "description": "A 34 character string that uniquely identifies this Subscription."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Fetch a specific Subscription."
        },
        {
          "info": {
            "name": "UpdateSubscription",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://accounts.twilio.com/v1/Subscriptions/:Sid",
            "params": [
              {
                "name": "Sid",
                "value": "",
                "type": "path",
                "description": "A 34 character string that uniquely identifies this Subscription."
              }
            ],
            "body": {
              "type": "form-urlencoded",
              "data": []
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Update a Subscription."
        },
        {
          "info": {
            "name": "DeleteSubscription",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://accounts.twilio.com/v1/Subscriptions/:Sid",
            "params": [
              {
                "name": "Sid",
                "value": "",
                "type": "path",
                "description": "A 34 character string that uniquely identifies this Subscription."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Delete a specific Subscription."
        }
      ]
    }
  ],
  "bundled": true
}