Buttondown Documentation
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.
All parameters are optional unless explicitly specified.
Custom CSS styling for your newsletter emails.
".header { color: #000; }"Custom email template identifier.
"custom-template""Stay up to date with the latest trends in wigs and hairpieces"The domain of the newsletter on which archives are hosted.
"sheinhardt.com""newsletter@sheinhardt.com"The domain of the newsletter from which emails are sent.
"mail.sheinhardt.com"List of enabled features for your newsletter.
[
"archives",
"portal",
"surveys"
]HTML content displayed at the bottom of your newsletter emails.
"<p>Thanks for reading!</p>"The name displayed in the 'From' field of your emails.
"Sheinhardt Wig Company"HTML content displayed at the top of your newsletter emails.
"<p>Welcome to our newsletter!</p>"URL to your newsletter's icon image.
"https://example.com/icon.png"URL to your newsletter's header or branding image.
"https://example.com/header.jpg""Sheinhardt Wig Company"Whether test mode is enabled for this newsletter.
The accent color for your newsletter.
"#0069FF""sheinhardt"Custom CSS styling for your newsletter's web presence.
".container { max-width: 800px; }"This endpoint may return the following error codes. See the error codes reference for more details about error handling.
| Error Code | Description |
|---|---|
username_already_exists | A newsletter already exists with that username. |
username_malformed | The username is malformed. |