builder campaigns, use the interface.">

# Create transactional campaign
Requires Pro plan

# HTTP method: POST

https://api.sender.net/v2/transactional

Use this API method to create a new transactional campaign.
Only plain and html editors are supported via API. For builder campaigns, use the interface.

title string

Name of the campaign (optional, shown in reports)

subject string required

Subject line of the campaign

from string required

Sender name displayed to recipients

reply_to string required

Sender email. Must belong to a verified domain

editor string required

The value must be one of "plain", "html", or "builder".

preheader string

Preview text of the email

content string

Provide the content of your campaign. Only plain text and html options are available for providing campaign content using the API. For drag&drop builder you need to use the interface.

Code snippets

Response example

{
  "data": {
    "id": "ep2W4y",
    "user_id": "b2zzjb",
    "account_id": "boEyke",
    "title": "Transactional campaign test title",
    "subject": "Transactional campaign test subject",
    "from": "Sender support",
    "reply_to": "[email protected]",
    "domain_id": "bkRz2N",
    "created": "2025-07-24 21:09:28",
    "modified": "2025-07-24 21:09:28",
    "type": "API",
    "last_action": "step1",
    "editor": "plain",
    "html": {
      "id": "dBKJRx",
      "thumbnail_url": "https://cdn.sender.net/thumbnails/boEyke/html/dBKJRx.webp?v=1753369768",
      "has_preview": false,
      "has_snapshots": false,
      "styles": null
    },
    "purchaseCount": 0
  }
}