v1

latestSwagger 2.02026-08-0613288149.8 KB
mailings

update a mailing. 🔓

update a mailing<br/> <br/> <strong>Example Post Data:</strong><br/> <code> {<br/>     "name": "my new name",<br/>     "subject": "different subject line",<br/>     "sender_name": "Not Bruce Wayne (Wayne corp.)",<br/>     "sender_email": "not.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": "advanced",  // "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>

put/v3/mailings/{id}

Path parameters

idstring required

ID of the mailing

Request body

namestring

internal name of the mailing

subjectstring

subject of the mail

sender_namestring

name of the sender

sender_emailstring

sender email

contentobject

definition object for mail content (see example)

receiversobject

definition object for receivers (see example)

settingsobject

definition object for settings (see example)

tagsstring[]

tags for the mail

Response

Success

boolean required