POST /api/admin/support/tickets/:id/spam {spam} (support.reply): mark spam / not spam. Audited support.spam.Staff cookie session; permission support.reply. Write requests need same-origin JSON and X-Admin-CSRF from this session.Source snapshot: admin/src/app/api/admin/support/tickets/[id]/spam/route.ts. This reference describes the current working tree, not proof of deployment. The response service types and validators remain authoritative.
Request
Authorization
API Key
Add parameter in cookie
__Host-hwa_session
Example:
__Host-hwa_session: ********************
or
Path Params
Header Params
Body Params application/jsonRequired
Examples
Responses
🟢200
application/json
POST /api/admin/support/tickets/:id/spam {spam} (support.reply): mark spam / not spam. Audited support.spam.