This endpoint should only be used for sending finalized emails. If you're interested in programmatically sending drafts for review, you'll want to use the send-drafts endpoint instead.
Sample requests
These sample requests are autogenerated by the OpenAPI spec.
import requests# You can find this key in your API requests page:# https://buttondown.email/requestsBUTTONDOWN_API_KEY = "your-api-key-here"headers = {"Authorization": f"Token {BUTTONDOWN_API_KEY}",}BASE_URL = "https://api.buttondown.email"ENDPOINT = "/subscribers/telemachus@buttondown.email/emails/{email_id}"METHOD = "POST"response = requests.request(METHOD, f"{BASE_URL}/v1{ENDPOINT}", headers=headers)
Sample responses
The IDs and values referenced in these responses are fake; please only rely on these responses for overall structure.
{}
Path parameters
Consult the Filtering documentation for more information on how to filter and sort your requests.