API > campaign > Create Campaign
POST https://app.replyup.com/api/campaign
Create campaign
Default Parameter | |
---|---|
api_key (string) | Your api key |
Parameters | |
---|---|
campaignName(string) * | Name of the campaign. |
fromName(string) * | The name the campaign was sent from. |
fromEmail(string) * | The email address the campaign was sent from. |
subject(string) * | The subject of the campaign. |
templateId(number) * | Which template is assigned either there will be a emailSequenceId or templateId. |
emailSequenceId(number) * | Which emailSequenceId is assigned either there will be a emailSequenceId or templateId. |
listIds(number) * | The ids of the lists the campaign was sent to. |
executionDate(string (YYYY-MM-DD)) | When should the campaign get executed date |
executionTime(string) | At what time should the campaign get executed (HH:MM) |
type(string) * | 1 = (Regular campaign), 2 = (Automated campaign) |
status(string) * | 1 = (Process the campaign), 3 = (Save as draft) |
200 success returns | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
successful operation
|
400 returns | ||||||
---|---|---|---|---|---|---|
Invalid status value
|
Example request |
---|
"https://app.replyup.com/campaign/1"
|
Example response |
---|
|