{ "opencollection": "1.0.0", "info": { "name": "AWeber Subscribers 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": "Subscribers", "type": "folder" }, "items": [ { "info": { "name": "Get subscribers", "type": "http" }, "http": { "method": "GET", "url": "https://api.aweber.com/1.0/accounts/:accountId/lists/:listId/subscribers", "params": [ { "name": "accountId", "value": "", "type": "path", "description": "The account ID" }, { "name": "listId", "value": "", "type": "path", "description": "The list ID" }, { "name": "ws.start", "value": "", "type": "query", "description": "The pagination starting offset" }, { "name": "ws.size", "value": "", "type": "query", "description": "The pagination total entries to retrieve" }, { "name": "sort_order", "value": "", "type": "query", "description": "The collection will be sorted by the order in which the subscribers were added to the list. To specify the order, use the value `asc` for ascending or `desc` for descending." } ], "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}}" } } }, "docs": "This endpoint is used to get a paginated collection of subscribers under the specified account and list. The subscribers are returned in the order that they were added to the list starting with the oldest subscriber. The order can be changed using the `sort_order` query parameter.\nCheck out related examples:\n\n * Find Subscribers Across Lists (\n Python |\n Can I use this list? to understand the ramifications. If you have a large list of subscribers, please use our list importer. Attempting to use the endpoint to bulk add s" }, { "info": { "name": "Update subscriber by email", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.aweber.com/1.0/accounts/:accountId/lists/:listId/subscribers", "params": [ { "name": "accountId", "value": "", "type": "path", "description": "The account ID" }, { "name": "listId", "value": "", "type": "path", "description": "The list ID" }, { "name": "subscriber_email", "value": "", "type": "query", "description": "The subscriber's email address" } ], "body": { "type": "json", "data": "{}" }, "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}}" } } }, "docs": "This endpoint is used to update the information for the specified subscriber by email.\n\nCheck out related examples:\n\n * Find Subscribers Across Lists (\n Python |\n PHP |\n Python |\n PHP |\n Python |\n PHP |\n PHP |\n