{
  "opencollection": "1.0.0",
  "info": {
    "name": "AWeber REST API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://auth.aweber.com/oauth2/authorize",
      "accessTokenUrl": "https://auth.aweber.com/oauth2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Accounts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List the authenticated user's accounts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.aweber.com/1.0/accounts"
          },
          "docs": "List the authenticated user's accounts"
        },
        {
          "info": {
            "name": "Get an account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.aweber.com/1.0/accounts/:accountId",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get an account"
        }
      ]
    },
    {
      "info": {
        "name": "Lists",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List subscriber lists in an account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.aweber.com/1.0/accounts/:accountId/lists",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List subscriber lists in an account"
        },
        {
          "info": {
            "name": "Get a list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.aweber.com/1.0/accounts/:accountId/lists/:listId",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path"
              },
              {
                "name": "listId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a list"
        }
      ]
    },
    {
      "info": {
        "name": "Subscribers",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List subscribers on a list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.aweber.com/1.0/accounts/:accountId/lists/:listId/subscribers",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path"
              },
              {
                "name": "listId",
                "value": "",
                "type": "path"
              },
              {
                "name": "ws.size",
                "value": "",
                "type": "query"
              },
              {
                "name": "ws.start",
                "value": "",
                "type": "query"
              },
              {
                "name": "status",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List subscribers on a list"
        },
        {
          "info": {
            "name": "Add a subscriber to a list",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.aweber.com/1.0/accounts/:accountId/lists/:listId/subscribers",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path"
              },
              {
                "name": "listId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Add a subscriber to a list"
        },
        {
          "info": {
            "name": "Get a subscriber",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.aweber.com/1.0/accounts/:accountId/lists/:listId/subscribers/:subscriberId",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path"
              },
              {
                "name": "listId",
                "value": "",
                "type": "path"
              },
              {
                "name": "subscriberId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a subscriber"
        },
        {
          "info": {
            "name": "Update a subscriber",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.aweber.com/1.0/accounts/:accountId/lists/:listId/subscribers/:subscriberId",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path"
              },
              {
                "name": "listId",
                "value": "",
                "type": "path"
              },
              {
                "name": "subscriberId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a subscriber"
        },
        {
          "info": {
            "name": "Delete a subscriber",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.aweber.com/1.0/accounts/:accountId/lists/:listId/subscribers/:subscriberId",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path"
              },
              {
                "name": "listId",
                "value": "",
                "type": "path"
              },
              {
                "name": "subscriberId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a subscriber"
        }
      ]
    },
    {
      "info": {
        "name": "Broadcasts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List broadcasts for a list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.aweber.com/1.0/accounts/:accountId/lists/:listId/broadcasts",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path"
              },
              {
                "name": "listId",
                "value": "",
                "type": "path"
              },
              {
                "name": "status",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List broadcasts for a list"
        },
        {
          "info": {
            "name": "Create a broadcast",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.aweber.com/1.0/accounts/:accountId/lists/:listId/broadcasts",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path"
              },
              {
                "name": "listId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a broadcast"
        },
        {
          "info": {
            "name": "Get a broadcast",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.aweber.com/1.0/accounts/:accountId/lists/:listId/broadcasts/:broadcastId",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path"
              },
              {
                "name": "listId",
                "value": "",
                "type": "path"
              },
              {
                "name": "broadcastId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a broadcast"
        }
      ]
    },
    {
      "info": {
        "name": "Campaigns",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List campaigns for a list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.aweber.com/1.0/accounts/:accountId/lists/:listId/campaigns",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path"
              },
              {
                "name": "listId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List campaigns for a list"
        }
      ]
    },
    {
      "info": {
        "name": "Custom Fields",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List custom fields on a list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.aweber.com/1.0/accounts/:accountId/lists/:listId/custom_fields",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path"
              },
              {
                "name": "listId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List custom fields on a list"
        },
        {
          "info": {
            "name": "Create a custom field",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.aweber.com/1.0/accounts/:accountId/lists/:listId/custom_fields",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path"
              },
              {
                "name": "listId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a custom field"
        }
      ]
    },
    {
      "info": {
        "name": "Segments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List saved searches/segments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.aweber.com/1.0/accounts/:accountId/lists/:listId/segments",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path"
              },
              {
                "name": "listId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List saved searches/segments"
        }
      ]
    },
    {
      "info": {
        "name": "Web Forms",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List web forms on a list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.aweber.com/1.0/accounts/:accountId/lists/:listId/web_forms",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path"
              },
              {
                "name": "listId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List web forms on a list"
        }
      ]
    },
    {
      "info": {
        "name": "Landing Pages",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List landing pages",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.aweber.com/1.0/accounts/:accountId/landing_pages",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List landing pages"
        }
      ]
    }
  ],
  "bundled": true
}