Campaigns
Create a campaign
Creates a draft campaign. Give the content as html_content (optionally with the editor's json_content) or as a template_id, whose HTML is copied onto the campaign. Every list, segment, topic and template must belong to your team. The sender domain is checked when the campaign is sent, not here; language override senders are checked here and must use a verified sending domain. Send or schedule the draft with the send and schedule endpoints. Requires the campaigns:write scope. Not available to sandbox keys.
post/campaigns
Request
- Base URL: https://app.lettr.com/api
- URL: https://app.lettr.com/api/campaigns
- Auth: HTTP bearer
Request body
Example request
{
"name": "October newsletter",
"subject": "News for October",
"from_email": "news@example.com",
"from_name": "Example",
"html_content": "<p>Hello {{first_name}}</p>"
}Response
Campaign created successfully.
Example response
{
"message": "Campaign created successfully.",
"data": {
"id": "0193e6a8-1f3a-7c2a-b9e2-1aa1d2e5d3f0",
"name": "Spring Sale",
"status": "sent",
"sent_count": 124,
"created_at": "2026-05-01T09:00:00+00:00"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.