b05c9b904be4
create a mailing. 🔓
create a new mailing<br/> <br/> <strong>Example Post Data:</strong><br/> <code> {<br/> "name": "my internal name",<br/> "subject": "subject line",<br/> "sender_name": "Bruce Wayne (Wayne corp.)",<br/> "sender_email": "bruce.wayne@gotham.com",<br/> "content": {<br/> "type": "html/text", // "html", "text" or "html/text"<br/> "html": "<html><body>The two faces of Harvey Dent</body></html>",<br/> "text": "The two faces of Harvey Dent"<br/> },<br/> "receivers": { // fill either a list of group ids or a filter id<br/> "groups": [ "31939", "81942" ],<br/> "filter": "66"<br/> },<br/> "settings": {<br/> "editor": "wizard", // "wizard", "freeform", "advanced", "plaintext"<br/> "open_tracking": true, // track opening of emails<br/> "click_tracking": true, // track clicks of emails<br/> "link_tracking_url": "27.wayne.cleverreach.com",<br/> "link_tracking_type": "google", // "google", "intelliad", "crconnect"<br/> "google_campaign_name": "My Campaign", // in case of link_tracking_type == "google"<br/> "unsubscribe_form_id": "23",<br/> "category_id": "54"<br/> }<br/> } </code><br/> <br/> <strong>Note:</strong> For links not to be substituted by tracking links, use 'single quotes' around urls in your html. <br/>
Request body
Response
Success