Cakemail icon

Cakemail

Interact with Cakemail API

Campaign → Create

AI-generated

Summary

Create a new campaign in Cakemail.

Inputs

  • accountId — Optional: Specify an account ID for multi-tenant operations. If not provided, uses the authenticated account.
  • campaignName (required) — Name of the campaign
  • listId (required) — ID of the list to send the campaign to
  • senderName (required) — Name that appears in the 'From' field when recipients receive the email.
  • senderEmail (required) — Email address that appears in the 'From' field. Must be verified in your Cakemail account.
  • subject (required) — Email subject line that recipients will see in their inbox.
  • htmlContent — HTML content of the email. Use standard HTML tags and inline CSS for styling.
  • textContent — Plain text version for email clients that don't support HTML.
  • previewText — Preview text (preheader) shown next to the subject line in email clients.

Output shape

no body — success/failure only

Returns success or failure status for creating the campaign.

Discussion