> For the complete documentation index, see [llms.txt](https://docs.tnid.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tnid.com/api-reference/001_user/006_spam_reporting/001__list_spam_reports.md).

# List Spam Reports

GraphQL endpoint: `/user`

Lists spam reports that have been submitted to the platform. You can filter by:

* `channelType`: Filter by communication channel
* `issueType`: Filter by the type of issue
* `includedStatus`: Only include reports with this status
* `excludedStatus`: Exclude reports with this status
* `limit`: Limit the number of results returned

Channel types can be:

* SMS
* MMS
* RCS
* VOICE
* EMAIL
* OTHER

Issue types can be:

* SPAM
* FRAUD
* SCAM
* HARASSMENT
* ILLEGAL\_CONTENT

Statuses can be:

* SUBMITTED
* PROCESSING
* ESCALATED
* CLOSED
* REJECTED

This allows users to review their spam reports and track their status.

## Query

```graphql
query (
  $channelType: SpamReportChannelType
  $issueType: SpamReportIssueType
  $includedStatus: SpamReportStatus
  $excludedStatus: SpamReportStatus
  $limit: Int
) {
  spamReports (
    channelType: $channelType
    issueType: $issueType
    includedStatus: $includedStatus
    excludedStatus: $excludedStatus
    limit: $limit
  ) {
    id
    fromNumber
    toNumber
    userNote
    messageContent
    channelType
    issueType
    status
    createdAt
    updatedAt
    timestamp
    metadata
    user {
      id
    }
  }
}

```

## Variables

```json
{}
```

## Response

```json
{
  "data": {
    "spamReports": [
      {
        "channelType": "SMS",
        "createdAt": null,
        "fromNumber": "213456",
        "id": "00000000-0000-4000-8000-000000000001",
        "issueType": "SPAM",
        "messageContent": "message content",
        "metadata": {
          "different": "metadata"
        },
        "status": "SUBMITTED",
        "timestamp": "2026-01-15T09:00:00.000000",
        "toNumber": "1",
        "updatedAt": "2026-01-15T09:00:01",
        "user": {
          "id": "00000000-0000-4000-8000-000000000002"
        },
        "userNote": "user note"
      },
      {
        "channelType": "SMS",
        "createdAt": null,
        "fromNumber": "213457",
        "id": "00000000-0000-4000-8000-000000000003",
        "issueType": "SPAM",
        "messageContent": "message content",
        "metadata": {
          "different": "metadata"
        },
        "status": "SUBMITTED",
        "timestamp": "2026-01-15T09:00:00.000000",
        "toNumber": "2",
        "updatedAt": "2026-01-15T09:00:01",
        "user": {
          "id": "00000000-0000-4000-8000-000000000002"
        },
        "userNote": "user note"
      },
      {
        "channelType": "SMS",
        "createdAt": null,
        "fromNumber": "213458",
        "id": "00000000-0000-4000-8000-000000000004",
        "issueType": "SPAM",
        "messageContent": "message content",
        "metadata": {
          "different": "metadata"
        },
        "status": "SUBMITTED",
        "timestamp": "2026-01-15T09:00:00.000000",
        "toNumber": "3",
        "updatedAt": "2026-01-15T09:00:01",
        "user": {
          "id": "00000000-0000-4000-8000-000000000002"
        },
        "userNote": "user note"
      },
      {
        "channelType": "SMS",
        "createdAt": null,
        "fromNumber": "213459",
        "id": "00000000-0000-4000-8000-000000000005",
        "issueType": "SPAM",
        "messageContent": "message content",
        "metadata": {
          "different": "metadata"
        },
        "status": "SUBMITTED",
        "timestamp": "2026-01-15T09:00:00.000000",
        "toNumber": "4",
        "updatedAt": "2026-01-15T09:00:01",
        "user": {
          "id": "00000000-0000-4000-8000-000000000002"
        },
        "userNote": "user note"
      },
      {
        "channelType": "SMS",
        "createdAt": null,
        "fromNumber": "2134510",
        "id": "00000000-0000-4000-8000-000000000006",
        "issueType": "SPAM",
        "messageContent": "message content",
        "metadata": {
          "different": "metadata"
        },
        "status": "SUBMITTED",
        "timestamp": "2026-01-15T09:00:00.000000",
        "toNumber": "5",
        "updatedAt": "2026-01-15T09:00:01",
        "user": {
          "id": "00000000-0000-4000-8000-000000000002"
        },
        "userNote": "user note"
      }
    ]
  }
}
```
