How to export list-cleaning results via our API
At the time of this writing there is only one way to export the results of list-cleaning you've done on Mailshake: by clicking the download icon when list-cleaning finishes ( learn more here). If you'd like to download your results later, there's unfortunately no official support for this yet.
There is, however, a hidden workaround that you can use with our API:
The Campaigns.export operation on our API accepts an "exportType" parameter. Not listed in our docs is the type "list-cleaning" that you can use for this purpose. You can use that value for "exportType" and you'll also need to pass in the parameter "recipientBatchIDs" which can look like this: "1,2,3".
The trick is, that export currently requires knowing the IDs of the recipient list that you ran cleaning on. To find this out, 1) click on the "Recipients" tab of your campaign, 2) click the "X Lists" button, and 3) click the "..." menu for your list and click "Personalize Recipients". Here's a screenshot:
This will take you to a page that looks like this where you can deduce the recipient list's ID:
Here's a screenshot of how you can execute this operation: