Overview
Email campaigns are used to send email messages to a list of contacts. Creating and sending the campaign are two different actions.
Creating the campaign puts it in the ‘composing’ state, giving you the opportunity to add and remove lists, and tweak the campaign parameters.
Once you’re done tweaking, you can create a Send Email Action for the specific email to trigger the campaign send.
The Method
Parameters
Properties
Example Request
URL : https://live.everlytic.net/api/2.0/emails { "files": [ {"filename":"test.csv", "content":"base64 data here" }], "subject":"message subject here", "from_email":"example@email.com", "is_html_fetch_from_url":"yes", "html_fetch_url":"https://www.mywebsite.com/email-content-for-fetching-here", "list_ids":"123456" }
Example Response
{ "links": [ { "title": "Self", "rel": "self", "href": "https://live.everlytic.net/api/2.0/emails" }, { "title": "Home", "rel": "home", "href": "https://live.everlytic.net/api/2.0/" } ], "item": { "id": 1058044, "hash": "UlxHrkIeCUZJRUVq", "type": "email", "subject": "message subject here", "from_email": "example@email.com", "reply_email": " example @email.com", "html_original": "<html>fetched-from-url content here</html>" "is_html_fetch_from_url": "yes", "html_fetch_url": "https://www.mywebsite.com/email-content-for-fetching-here", "html_fetch_when": "now", "is_text_fetch_from_url": "no", "text_fetch_when": "now", "is_copy_text_auto": "yes", "remove_duplicates": "no", "list_ids": "67797", "create_date": 1589801783, "is_scheduled": "no", "scheduled_recurrence": "once", "preparation_date": 0, "preparation_count": 0, "approval_required": "no", "inline_css": "no", "embed_images": "no", "track_links": "yes", "track_reads": "yes", "track_attachments": "no", "unsubscribe_type": "standard", "insert_unsubscribe_link": "yes", "include_analytics": "no", "include_custom_analytics": "no", "total_queued": 0, "total_in_queue": 0, "send_share_report": "no", "share_report_allow_export": "no", "status": "composing", "priority": "medium", "character_set": "utf-8", "encoding": "8bit" } }