Emails

Edit Email With Prompt

Prompt Migma to edit one generated email as a canvas follow-up turn (same orchestrator path as design chat). The same emailId remains valid; the response returns updated HTML and screenshot URLs. Requires API key with email:write permission.

post/v1/emails/{emailId}/edit

Path parameters

emailIdstring required

Email ID returned in generation status result.emails[].emailId.

Request body

promptstring required

Natural-language edit request, e.g. "Make this shorter and more transactional".

labelstring

Optional version label.

Response

Email edited

successboolean required
errorstring nullable

Changes

No recorded changes to this endpoint across all 6 revisions of this API.