# Marking as spam

Mark a Ticket as spam to move it out of your active inbox and exclude it from analytics. Use this for cold sales pitches, automated noise, scams, and any Ticket that isn't a genuine customer enquiry.

### Mark a Ticket as spam

1. Open the Ticket.
2. Click the **⋯** menu in the top-right.
3. Select **Mark as spam**.

The Ticket moves to the **Spam** view in your sidebar, stops appearing in your active inbox, and is excluded from analytics.

You can also bulk-mark Tickets as spam: select multiple Tickets in the inbox and choose **Mark as spam** from the toolbar.

### Restore a Ticket from spam

1. Open the **Spam** view from the sidebar.
2. Open the Ticket.
3. Click the **⋯** menu and select **Not spam**.

The Ticket returns to your active inbox and counts in analytics again.

### Spam vs. Close

* **Mark as spam** — for Tickets that shouldn't have been in your inbox at all (cold pitches, automated noise, scams). Excluded from analytics.
* **Close** — for genuine Tickets you've finished handling. Counted in analytics as resolved.

If you Close a Ticket that was actually spam, it skews your resolution metrics. If you mark a genuine Ticket as spam, it disappears from your team's reporting.

{% hint style="info" %}
New messages from a contact whose previous Ticket was marked as spam still create new Tickets in your active inbox. Marking spam doesn't block the contact — it only affects that one Ticket.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.zaapi.com/ticket-inbox/marking-as-spam.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
