Docs

Create Draft Campaign

Creates a draft campaign in Moosend.

POST

Query

Field selectionChoose which fields should be included in the response. Learn more
string

Comma-separated response fields to include.

Body

Arguments
stringrequired

The name of the campaign.

string

You can set the campaign type to "Regular" or "Transactional".

stringrequired

The subject line of the campaign.

stringrequired

The email address of the campaign sender.

stringrequired

The email address selected to receive replies from the campaign. This must be one of your campaign senders. If not specified, the SenderEmail is assumed.

string

The email address used to send a confirmation message when the campaign has been successfully sent. This can be any valid email address. If not specified, the SenderEmail is assumed.

string

The complete HTML body of the campaign. You can use this parameter instead of using the WebLocation parameter.

string

The URL used to retrieve the HTML content of the campaign. Moosend automatically moves all CSS inline.

object

A list of email lists in your account that is used to send the campaign.

string

The ID of a segment in the selected email list. If not specified, the campaign is sent to all active subscribers of the email list.

booleanrequired

A flag that defines if a campaign is an A/B split campaign. If true , you must fill out A/B split campaign parameters .

boolean

Specifies if tracking is enabled for the campaign. You must have Google Analytics configured on your site to use this feature.

stringrequired

Specify the type of test to be performed in the AB split campaign to determine the winning version: Subjectline - test two different versions of the subject line. Content - test two different versions of the campaign content. Sender - test two different versions of the campaign sender.

string

If testing A/B split campaigns with two subject line versions, this is the second subject version of the subject.

string

If testing A/B split campaigns with two HTML content versions, this is the complete HTML body of the second version.

string

If testing A/B split campaigns with two HTML content versions, this is the web location of the second HTML content version.

string

If testing A/B split campaigns with two sender versions, this is the email address of the second campaign sender. This must be one of the senders defined in your account.

number

Specify how long the test runs, before determining the winning campaign version to be sent to the rest of the recipients. This must be an integer between 1 and 24.

number

Specifies a portion of the target recipients to get the test campaign versions. For example, if you specify 10, then 10% of your recipients receive campaign A and another 10% receive the campaign B version. This must be an integer between 5 and 40.

string

Specifies the method to determine the winning version for the test. If not set, OpenRate is assumed. OpenRate - determine the winner based on the version that achieved more opens. TotalUniqueClicks - determine the winner based on the version that achieved more unique link clicks.

Every app you connect,one REST pattern

Call any app with one REST pattern. MindCloud handles each provider's auth, request shape, and responses for you.

Learn what the Universal API is
One REST patternUse the same request structure across apps like Slack, HubSpot, Salesforce, and thousands more.
Managed connectionsSend a MindCloud connection ID instead of handling provider tokens, refresh logic, and credential storage yourself.
Action-level docsEach action page shows the exact endpoint, required arguments, optional controls, and response behavior for that app version.