---
title: "Changes to Edit Email With Prompt"
method: POST
path: "/v1/emails/{emailId}/edit"
---

# Changes to Edit Email With Prompt

`POST /v1/emails/{emailId}/edit`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 16 revisions.

- **2026-09-30** `6aa61fe25f1f`: 2 breaking, 2 warning, 5 info

## Changes

- **2026-09-30** `6aa61fe25f1f`: 2 breaking, 2 warning, 5 info
  - the `label` request property's minLength was increased from `0` to `1`
  - the `prompt` request property's minLength was increased from `0` to `1`
  - the `label` request property's maxLength was set to `120`
  - the `prompt` request property's maxLength was set to `20000`
  - added the new optional `header` request parameter `Idempotency-Key`
  - added the new optional request property `async`
  - added the non-success response with the status `409`
  - added the non-success response with the status `503`
  - added the success response with the status `202`

---

[Operation](https://skmtc.dev/migma/apis/migma-ai-api-v1/docs/v1/emails/:emailId/edit/post.md) - [API](https://skmtc.dev/migma/apis/migma-ai-api-v1.md) - [Page](https://skmtc.dev/migma/apis/migma-ai-api-v1/changes/v1/emails/:emailId/edit/post)
