curl https://api2.ecomailapp.cz/campaign/1/send \
-H "key: YOUR_API_KEY" \
-H "Content-Type: application/json"
[
{
"id": 1,
"title": "My first campaign",
"from_name": "From name",
"from_email": "from@foo.cz",
"reply_to": "reply@bar.cz",
"subject": "First hello",
"recepient_lists": [1, 2],
"template_type": "html",
"campaign_type": "email"
}
]
Puts the campaign in the sending queue immediately.
curl https://api2.ecomailapp.cz/campaign/1/send \
-H "key: YOUR_API_KEY" \
-H "Content-Type: application/json"
[
{
"id": 1,
"title": "My first campaign",
"from_name": "From name",
"from_email": "from@foo.cz",
"reply_to": "reply@bar.cz",
"subject": "First hello",
"recepient_lists": [1, 2],
"template_type": "html",
"campaign_type": "email"
}
]
curl https://api2.ecomailapp.cz/campaign/1/send \
-H "key: YOUR_API_KEY" \
-H "Content-Type: application/json"
[
{
"id": 1,
"title": "My first campaign",
"from_name": "From name",
"from_email": "from@foo.cz",
"reply_to": "reply@bar.cz",
"subject": "First hello",
"recepient_lists": [1, 2],
"template_type": "html",
"campaign_type": "email"
}
]