Mark ticket as spam
documentedMark a ticket as spam.
POST /tickets/{ticket_id}/spamTicketsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$subdomain}}.supportbee.com/api/v1/tickets/{{$ticket_id}}/spam" \
-X POST \
-H "Authorization: Bearer {{SUPPORTBEE_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"spam": true, "reason": "{{$reason}}", "notes": "{{$notes}}"}'