{ "opencollection": "1.0.0", "info": { "name": "AWeber Broadcasts 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": "Broadcasts", "type": "folder" }, "items": [ { "info": { "name": "Get broadcasts", "type": "http" }, "http": { "method": "GET", "url": "https://api.aweber.com/1.0/accounts/:accountId/lists/:listId/broadcasts", "params": [ { "name": "accountId", "value": "", "type": "path", "description": "The account ID" }, { "name": "listId", "value": "", "type": "path", "description": "The list ID" }, { "name": "status", "value": "", "type": "query", "description": "The status of the broadcasts to retrieve. **(Please be aware that `draft` only returns API created Broadcast drafts)**" }, { "name": "ws.start", "value": "", "type": "query", "description": "The pagination starting offset" }, { "name": "ws.size", "value": "", "type": "query", "description": "The pagination total entries to retrieve" } ], "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 broadcasts under the specified account and list. The sort order is dependent on the requested status.\n\n * *draft* messages are sorted by `broadcast_id` **and** only include API created broadcast drafts\n * *scheduled* messages are sorted by `scheduled_for`\n * *sent* messages are sorted by `sent_at`\n\n\nCheck out related examples:\n\n * Create and Schedule Broadcast (\n Python |\n PHP |\n Python |\n PHP |\n Python |\n Python |\n PHP |\n Python |\n PHP |\n Python |\n PHP |\n Python |\n PHP |\n