Use the /emails endpoint to list all of your emails, including drafts, scheduled, and sent emails.
Use the /emails endpoint to list all of your emails, including drafts, scheduled, and sent emails.
These sample requests are autogenerated by the OpenAPI spec.
The IDs and values referenced in these responses are fake; please only rely on these responses for overall structure.
Consult the Filtering documentation for more information on how to filter and sort your requests.
If provided, only return emails with the given status.
Draft emails are only visible to you and are not sent out to subscribers.
This email was created by an external feed, and has not yet been finalized and sent out by Buttondown.
This email has been queued to send out to subscribers, and will be sent automatically within a few minutes.
If you're seeing that an email you just sent out is 'stuck' here, worry not — Buttondown sometimes takes a little bit longer to send out emails to ensure deliverability, but once it's marked as 'about to send' it will get sent out.
This email has been scheduled to send out to subscribers at a specific time. This specific time is available on the email as its publish_date.
This email is currently being sent out to subscribers, and is visible in your web archives if enabled.
Some emails, especially those with large subscriber lists, may take a while to send out — Buttondown sends emails out in batches to ensure deliverability, so if you're seeing an email 'stuck' here, it's because our systems have detected that that's the optimal way to reach your subscribers.
This email has been paused, and is not visible in your web archives. If it is not resumed within seven days, it becomes a draft, sent, or partially sent email.
This email has been deleted, and is no longer visible in your web archives.
This email has encountered an error while sending out to subscribers, and is not visible in your web archives.
This email has been sent out to subscribers, and is visible in your web archives if enabled.
This email was paused while sending and was not resumed within seven days, so only some subscribers received it. It is not visible in your web archives.
This email was imported from another service, and is visible in your web archives if enabled.
This email is in the process of being sent out, but is being intentionally sent slowly to ensure deliverability.
This email is in the process of automatically being resent to subscribers by Buttondown's systems in order to make sure all subscribers have received it.
This email is a transactional email used by a core workflow in your newsletter or Automations, and is not visible in your web archives nor sent out to subscribers.
This email has been suppressed and is not visible to subscribers.
If provided, only return emails without the given status.
Draft emails are only visible to you and are not sent out to subscribers.
This email was created by an external feed, and has not yet been finalized and sent out by Buttondown.
This email has been queued to send out to subscribers, and will be sent automatically within a few minutes.
If you're seeing that an email you just sent out is 'stuck' here, worry not — Buttondown sometimes takes a little bit longer to send out emails to ensure deliverability, but once it's marked as 'about to send' it will get sent out.
This email has been scheduled to send out to subscribers at a specific time. This specific time is available on the email as its publish_date.
This email is currently being sent out to subscribers, and is visible in your web archives if enabled.
Some emails, especially those with large subscriber lists, may take a while to send out — Buttondown sends emails out in batches to ensure deliverability, so if you're seeing an email 'stuck' here, it's because our systems have detected that that's the optimal way to reach your subscribers.
This email has been paused, and is not visible in your web archives. If it is not resumed within seven days, it becomes a draft, sent, or partially sent email.
This email has been deleted, and is no longer visible in your web archives.
This email has encountered an error while sending out to subscribers, and is not visible in your web archives.
This email has been sent out to subscribers, and is visible in your web archives if enabled.
This email was paused while sending and was not resumed within seven days, so only some subscribers received it. It is not visible in your web archives.
This email was imported from another service, and is visible in your web archives if enabled.
This email is in the process of being sent out, but is being intentionally sent slowly to ensure deliverability.
This email is in the process of automatically being resent to subscribers by Buttondown's systems in order to make sure all subscribers have received it.
This email is a transactional email used by a core workflow in your newsletter or Automations, and is not visible in your web archives nor sent out to subscribers.
This email has been suppressed and is not visible to subscribers.
If provided, only return emails with the given IDs.
The ordering to apply to the results.
Filter results by date range. Provide one or more of the following query parameters:
creation_date__start (date, on or after (inclusive)): If provided, only return emails created after the given date.creation_date__end (date, on or before (inclusive)): If provided, only return emails created before the given date.Filter results by date range. Provide one or more of the following query parameters:
publish_date__start (date, on or after (inclusive)): If provided, only return emails published after the given date.publish_date__end (date, on or before (inclusive)): If provided, only return emails published before the given date.If provided, exclude the given field(s) from the response. This can improve performance for large responses.
If provided, only return emails from the given source(s).
This email was created via the API.
This email was imported from another service.
This email was created via the Buttondown web app.
This email was created by an external RSS feed.
This email was created by emailing it in to Buttondown (post by email / SMTP).
If provided, only return emails with the given archival mode.
This email is visible in the archive to everyone, but is not email content (e.g. an imported blog post) and is never sent or shown in email-rendering contexts.
This email is not visible in the archive.
This email is visible in the archive to everyone.
This email is visible in the archive to paid subscribers only.
This email is visible in the archive to subscribers only.
The type of emails to return. Defaults to all types.
Public emails are sent out to all of your subscribers and are available in your web archives.
Private emails are sent out to all of your subscribers but are not viewable in your web archives.
Free emails are sent out only to subscribers who are not paying for your newsletter (so you can send specific emails to convince them to pay, for instance!)
Emails sent specifically to subscribers who were previously premium but have since churned.
Emails that are only available in the archive and not sent to subscribers.
If provided, only return emails with a subject that contains the given string.
If provided, only return emails with the given attachments.
If provided, only return emails that reference the given snippets.
If provided, only return emails with at least this many deliveries.
If provided, only return emails with at most this many deliveries.
If provided, only return emails with a click rate greater than or equal to the given value.
If provided, only return emails with a click rate less than or equal to the given value.
If provided, only return emails with an open rate greater than or equal to the given value.
If provided, only return emails with an open rate less than or equal to the given value.
The page number of the paginated response.