The get_campaign API allows you to retrieve any of your Saved Campaigns in Campaign Cleaner. The response below is a real example of a newsletter that “Postman” sent us, overall it’s a pretty good newsletter with a few issues, mainly image size and a couple of broken links.
X-CC-API-Key: Your API Key
Required: campaign:
Optional: campaign:
campaign:
!important flag will also be inlined with CSS styles. If you are using media queries, it is generally recommended to keep this set to false.!important flag. This ensures they can override any inline CSS without an !important flag.HTTP Status Codes: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
In addition to status codes listed in the document above.
| Status Code | Description |
|---|---|
| 97 | Telephone Links start with tel: |
| 98 | Email links, starts with mailto: |
| 99 | Invalid URL - The provided website address is not valid. It may be a partial address, missing the necessary protocols (http or https), or has an incorrect format. |
The body is of type object.
OK
The response is of type object.