Validate the campaign's HTML/CSS code to verify it has been properly JSON-escaped.
Note: if a Journey is created (by supplying a list_ID parameter value), the Journey entrant node will be when a contact is added to the list ID specified in the call. In addition, the Journey action once a contact has been added to the Journey funnel will be the sending of the newsletter created with the call.
Note: if a Journey is created (by supplying a list_ID parameter value), the Journey will be "active" by default. If the user wishes to activate at a later date, user should go to "Manage Journeys" and deactivate the call.
JSON Request Example:
PLEASE NOTE: JSON requires a strict code format. Please ensure that your template code conforms to the JSON requirements. Thank you.
PLEASE NOTE: You cannot create an email campaign with a name that is already used for another campaign.
"json_request" element
| Field Name | Description | 
| username | Username used to login to Pinpointe | 
| usertoken | Unique token assigned to Pinpointe account | 
| requesttype | Newsletters | 
| requestmethod | ValidateHTMLBody | 
"details" element
| Field Name | Description | 
| htmlbody (required) | HTML of the Email Campaign to be validated | 
Successful Response:
"response" and "response" => "data" elements
| Field Name | Description | 
| status | Will return SUCCESS if HTML is valid. | 
Unsuccessful Response:
"response" element
| Field Name | Description | 
| status | Will return FAILED if unsuccessful | 
| errormessage | Text explaining why request failed |