# Get spam reports of a campaign

# HTTP method: GET

https://api.sender.net/v2/campaigns/{id}/complaints

Returns a list of subscribers who reported this campaign as spam.

id string required

Campaign ID

Code snippets

Response example

{
  "data": [],
  "links": {
    "first": "https://api.sender.net/v2/campaigns/ej0gRP/complaints?page=1",
    "last": "https://api.sender.net/v2/campaigns/ej0gRP/complaints?page=1",
    "prev": null,
    "next": null
  },
  "meta": {
    "current_page": 1,
    "from": null,
    "last_page": 1,
    "links": [
      {
        "url": null,
        "label": "pagination.previous",
        "active": false
      },
      {
        "url": "https://api.sender.net/v2/campaigns/ej0gRP/complaints?page=1",
        "label": 1,
        "active": true
      },
      {
        "url": null,
        "label": "pagination.next",
        "active": false
      }
    ],
    "path": "https://api.sender.net/v2/campaigns/ej0gRP/complaints",
    "per_page": 10,
    "to": null,
    "total": 0
  }
}