Send email
Send a marketing email with your own HTML.
The emails provided must be current subscribers of the corresponding channel, or Letterhead will return a 400.
Your HTML must comply with all regional laws in addition to CANSPAM.
Remember that Gmail will “clip” an email that’s greater than 102kb. Letterhead won’t compress HTML you compose, so be sure to take its filesize in consideration.
Authorizations
Section titled “Authorizations ”Request Body
Section titled “Request Body ”object
required | string The channel identifier (or “channel slug”) where the recipients of this email are subscribed.
Example
black-bitter-coffee-timesrequired | array List of email addresses you wish to target.
Note: while “emails” implies a plurality, Letterhead presently accepts only one email address.
Example
required | string The raw, valid HTML body of your email, starting with its opening doctype. Your email must comply with CANSPAM.
Example
<html><head><title>Amazing Newsletter Survey</title></head><body><h1>How are you enjoying our newsletter?</h1><p>We're hoping you have some kind words to say.</p></body></html>required | string The email subject of the newsletter. Maximum 191 characters.
Example
Can we ask you a question?Responses
Section titled “ Responses ”Email successfully sent
Examples
"Your letter with given HTML is scheduled to publish in 5 minutes."Headers
Section titled “Headers ”Example
trueExample
*Example
86400Example
no-cache, privateExample
keep-aliveExample
Mon, 26 Aug 2024 18:18:33 GMTExample
nginx/1.14.0 (Ubuntu)Example
chunkedStill can’t find what you need? Contact support.