Buttondown Documentation
Introduction
API recipes
Emails
Subscribers
Tags
Images
Newsletters
Routes
Exports
Bulk actions
RSS feeds
Webhooks
Comments
Surveys
Coupons
Automations
Accounts
Changelog
© 2016–2025 Buttondown LLC.
These sample requests are autogenerated by the OpenAPI spec.
import requests url = "https://api.buttondown.com/v1/newsletters" headers = { "accept": "application/json", "authorization": "Token $BUTTONDOWN_API_KEY" } response = requests.get(url, headers=headers) print(response.text)
The IDs and values referenced in these responses are fake; please only rely on these responses for overall structure.
{ "results": [ { "api_key": "7f819f8f-8220-4dcd-b7e3-37c81ead8b7a", "creation_date": "2019-08-24T14:15:22Z", "description": "I write about corgis and Python and lifting and all sorts of stuff!", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "Justin's neat newsletter", "username": "jmduke", "footer": "Thanks, as always, for reading!", "header": "Howdy, gang!", "tint_color": "#0069FF", "from_name": "Justin Duke" } ], "count": 1 }