---
title: "Recover Spam"
method: POST
path: "/api/cs/tickets/{ticket_id}/spam/recover"
tags: ["customer_service"]
---

# Recover Spam

`POST /api/cs/tickets/{ticket_id}/spam/recover`

## Request

- Base URL: `https://api.pigeonly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pigeonly.com/api/cs/tickets/{ticket_id}/spam/recover`
- Auth: none declared

Undo mark_spam as one coherent action: lift the suppression, un-hide
the ticket, reopen it. See service.recover_spam_ticket's own docstring
for why this is the one reopen left (an undo of a mistaken spam flag,
`cause=CORRECTION`; the ticket was never Solved) and why it has no window.

## Path parameters

- `ticket_id` string, uuid, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os.md) - [All operations](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/llms.txt) - [OpenAPI document](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/revisions/14571c4b7007?raw)
