---
title: "Mark a ticket as spam"
method: PUT
path: "/tickets/{ticketId}/spam"
tags: ["Ticket"]
---

# Mark a ticket as spam

`PUT /tickets/{ticketId}/spam`

Mark a ticket as spam: flags the ticket (and its merged duplicates) as spam, archives it into
the spam tab, and blocks the contact — future tickets from them are auto-flagged as spam and
inbound emails from them are dropped unless whitelisted. Undo via unarchive ("Not spam"),
which clears the spam flag and unblocks the contact again.

## Path parameters

- `ticketId` string, required

## Headers

- `project` string, required

## Response `200`

Ok

- unknown

---

[API](https://skmtc.net/gleap/apis/gleap-server.md) · [All operations](https://skmtc.net/gleap/apis/gleap-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gleap/gleap-server/revisions/98174db0934c/schema)
