rooster

Escalate Cs Ticket

Rooster's escalation tool (see app/modules/rooster/escalation.py): he lacks the information, the authority, or a tool to answer this ticket himself, and is saying so rather than guessing. Records a 'proper_escalation' disposition -- docs/SUPERVISION_DESK.md: a SUCCESS, not a failure -- and raises a human-visible ActionItem routed the same way every other ticket-scoped card in this codebase already is (app/modules/customer_service/ticket_routing.py): the ticket's own assignee, else (b2g) the agency's account manager, else a visible pool. Never an account manager seeing a consumer ticket or vice versa.

Gated on the SAME rooster:cs:draft grant as every other CS-drafting route -- deciding he cannot draft this one himself is part of the same drafting capability, not a new one. Idempotent per ticket: a repeat call while an escalation for this ticket is still on file reuses that card and records no second disposition (created: false).

THE CUSTOMER IS LOOKED UP FIRST (Frederick, 2026-10-14: "Rooster should be the manger and not bringing in humans unless it requires human hands"; message audit T3). Before anything is written the sender is looked up the way the ticket's customer card does it, here and not by the model: a model told to call a lookup first can skip it, a route that makes it cannot be skipped. The answer is written on the card, and a single match is linked to the ticket. api is the same Pigeonly adapter every consumer-account act uses.

post/api/rooster/cs/tickets/{ticket_id}/escalate

Request

  • Base URL
    https://api.pigeonly.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

ticket_id, string uuid required

Request body

EscalateTicketRequest required
reason, string required
needed, string required
related_ticket_id, string uuid nullable
recipient_email, string nullable

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 251 revisions of this API.