Write Cs Agent Draft
Changed onDumb persist: writes body.text, composed entirely by the calling agent, as an unsent ticket_messages row. Calls NO model -- see app/modules/rooster/agent_draft.py. Idempotent the same way draft_cs_reply is: if this ticket already carries an unsent agent draft, that draft is returned as-is (created: false) and no second row is ever stacked.
prepared_act (rule CS-65): checked first (422, nothing written, when it is refused), then recorded beside the draft. On a reused draft the existing draft's own act stands and this call's is dropped, the same way a re-supplied text and proposed_status already are.
Request
- Base URLhttps://api.pigeonly.com (the document declares no server; this is the origin it was published from)
- Authnone declared
Path parameters
Request body
An account act Rooster prepares WITH his draft (Frederick, 2026-10-22, issue #6922, rule CS-65: "let's have him create drafts and then they submit it"). Nothing is performed here: a person's Submit performs it, with the caps. params are the kind's own fields from the lookup's acts_you_may_prepare (a real invoice, send or plan of the customer); reason is what the person reads beside it.
Response
Successful Response
Changes
- info
added the new optional request property
prepared_act
- info