List of spam complaints
Get the number and list of user email addresses that marked messages from the mailing as spam. The list is formed for the specified mail domain or address, ID, or mailing date.
Request syntax
https://postoffice.yandex.ru/api/1.0/stat-bad
? oauth_token=<access token>
& (domain=<domain> | email=<address>)
& [id=<mailing ID>]
& [listid=<List-ID>]
& [year=<year>]
& [month=<month>]
& [day=<day>]
& [get=<number of recipients>]
oauth_token * | OAuth access token. For more information about getting a token, see the section Application authorization using an OAuth token. |
domain * | The mail domain that is the source for mailings. |
email * | The email address that is the source for mailings. |
id | ID number of the mailing. The value of the If the |
listid | Mailing ID; the value of the |
year | Year of the mailing. The value is a four-digit number. If the |
month | Month of the mailing. Acceptable values: If the |
day | Day of the mailing. Acceptable values: If the |
get | The number of recipients. Acceptable value: If the |
oauth_token * | OAuth access token. For more information about getting a token, see the section Application authorization using an OAuth token. |
domain * | The mail domain that is the source for mailings. |
email * | The email address that is the source for mailings. |
id | ID number of the mailing. The value of the If the |
listid | Mailing ID; the value of the |
year | Year of the mailing. The value is a four-digit number. If the |
month | Month of the mailing. Acceptable values: If the |
day | Day of the mailing. Acceptable values: If the |
get | The number of recipients. Acceptable value: If the |
* Required
id
and listid
) or only by date (parameters: year
, month
, and day
).Response format
Can return two types of responses:
session
ID of the session in which the API request was processed. Include this ID when contacting the Yandex support service about bugs or errors you encounter with the Post Office API.
rcpts
A list of email addresses of users who marked messages from the mailing as spam.
count
The number of email addresses of users who marked messages from the mailing as spam.