curl -X PUT https://api2.ecomailapp.cz/campaigns/1 \ -H "key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "title": "Campaign title", "from_name": "Senders name", "from_email": "test@ecomailapp.cz", "reply_to": "test@ecomailapp.cz", "subject": "New campaign subject", "html_text": "HTML content of new campaign", "recepient_lists": [1, 2] }'
{ "id": 1, "from_name": "From name", "from_email": "from@foo.cz", "reply_to": "reply@bar.cz", "title": "My first campaign", "subject": "First hello", "status": 0, "archive_url": "https://foo.ecomailapp.cz/campaigns/render/1" }
Update an existing campaign.
Documentation IndexFetch the complete documentation index at: https://docs.ecomail.cz/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.ecomail.cz/llms.txt
Use this file to discover all available pages before exploring further.