MPZ API > Add Junk Report

Use the API to add a new junk report to an existing campaign. Adding a junk report will mark a subscriber as junked and delete them from ALL groups.

Request

Submit an XML Request with the following details:
Post URL: https://mpzmail.com/api/v3.0/campaigns/addJunkReport/
Fields to Post
userID String REQUIRED The userID of the requesting user.
campaignID Int REQUIRED The ID of the campaign the junk report relates to.
subscriberID Int REQUIRED The ID of a subscriber that has generated the junk report.

Response

Data Sent Back
error Int Indicates wether an error has occured. 0 for no error. 1 for error.
status String If there's been an error, a text description of the error that occured will be here.

Sample request XML

<xml>
     <userID>125125125125</userID>
     <campaignID>123456788</campaignID>
     <subscriberID>876544321</subscriberID>
</xml>

Sample response XML

<xml>
     <error>0</error>
     <status>success</status>
</xml>

Comments