---
title: "Bot Draft Regenerate Route"
method: POST
path: "/api/v1/bot/draft/{draft_id}/regenerate"
tags: ["bot"]
---

# Bot Draft Regenerate Route

`POST /api/v1/bot/draft/{draft_id}/regenerate`

Rewrite the draft body in the chosen inbox's voice (the 'Rewrite in this voice'
action), returning the new body for the bot to edit the card in place.

## Path parameters

- `draft_id` string, uuid, required

## Query parameters

- `provider` string, required
- `platform_user_id` string, required
- `channel_id` string, nullable

## Request body

- BotDraftRegenerateRequest
  - `sender_account` string, nullable

## Response `200`

Successful Response

- EnvelopeBotDraftDetail
  - `data` BotDraftDetail, required
    - `draft_id` string, required
    - `customer_name` string, nullable
    - `subject` string, nullable
    - `body` string, required
    - `status` string, required
  - `meta` Meta
    - `request_id` string
    - `timestamp` string, date-time
    - `total` integer, nullable
    - `truncated` boolean, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/minro/apis/minro-cs-platform.md) · [All operations](https://skmtc.dev/minro/apis/minro-cs-platform/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/minro/minro-cs-platform/revisions/eb854265cf29/schema)
