Buttondown Documentation
When we first launched Buttondown's API, we actually had three separate email endpoints: /v1/drafts
, /v1/scheduled_emails
, and /v1/emails
, because we had three separate models for emails, drafts, and scheduled emails.
This was an architectural mistake for many reasons, and we combined them into a single backing model, Email
:
We eventually realized the error of our ways and combined these, but to maintain backwards compatibility (before we had a versioning system!) we defaulted /v1/emails
to have a behavior of only ever showing "real" emails that were in flight or sent.
Fast forward three years, and this is still the case for non-obvious and increasingly tenuous reasons. We've cut a new version of the API that removes this little piece of duct tape, such that a call to /v1/emails
will return all emails, regardless of status. (And you can still of course filter them by passing in status
as a query parameter.)