---
title: "Send Edited Draft"
method: POST
path: "/api/cs/tickets/{ticket_id}/messages/{message_id}/send-edited"
tags: ["customer_service"]
---

# Send Edited Draft

`POST /api/cs/tickets/{ticket_id}/messages/{message_id}/send-edited`

## 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}/messages/{message_id}/send-edited`
- Auth: none declared

Send the human's OWN version of Rooster's draft.

`message_id` is the AGENT's draft. The edited text is appended as a new
human-authored message and sent (ticket_messages is append-only, so the
agent's original is never rewritten), and the agent's draft is disposed
'edited' with a unified diff -- or 'approved' if the human changed
nothing after all. That diff is what teaches the skill; see
service.send_edited_draft. A person's own unsent draft (the thread row's
Edit, ISS-570) is edited and sent the same way, with no disposition.

## Path parameters

- `ticket_id` string, uuid, required
- `message_id` string, uuid, required

## Request body

- SendEditedDraftRequest
  - `text` string, required
  - `channel` string
  - `target_status` string, nullable
  - `cc_emails` string[]

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