---
title: "Decline Spam Suggestion"
method: POST
path: "/api/cs/tickets/{ticket_id}/spam-suggestion/decline"
tags: ["customer_service"]
---

# Decline Spam Suggestion

`POST /api/cs/tickets/{ticket_id}/spam-suggestion/decline`

## 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-suggestion/decline`
- Auth: none declared

A human looked at Rooster's 'suggest_spam' triage card and disagrees.
Leaves the ticket exactly as it was -- an ordinary ticket to be worked,
Frederick's own words (build task 2026-08-11): "Decline leaves it as an
ordinary ticket to be worked" -- and only clears the suggestion off the
desk (`action_items.dismiss`, "this does not need doing").

Gated the SAME way `mark_spam` above is -- ticket-kind grant or
assignee (`_require_kind_grant_or_assignee`) -- deliberately NOT
`platform:action_items:write`, the grant the generic `POST
/api/platform/action-items/{id}/dismiss` route requires. That grant is
bound to the Customer Service (b2c) role but not Account Manager
(migrations/0046_ticket_access_by_role.sql), so routing this specific
click through the generic endpoint would leave a b2g account manager
able to AGREE with a suggestion (mark_spam only ever checked the ticket
grant) but not decline one on the same ticket. Both halves of one
gesture must open to the same person.

A missing/already-resolved card is a no-op, not an error -- the same
"a double click, or someone else got there first, must never surface
as a failure" tolerance `mark_spam`'s own `resolve_action_item_id`
branch documents just above.

## 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)
