Replace an email body or mutate an existing block type.
cURL
curl --request PATCH \ --url https://api.sequenzy.com/api/v1/emails/{emailId}/blocks \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "html": "<string>", "blocks": [ {} ], "blockId": "<string>", "type": "<string>", "content": "<string>" } '
{ "success": true, "email": { "id": "email_123", "companyId": "company_123", "name": "Welcome", "subject": "Welcome", "previewText": null, "blocks": [{ "id": "legacy-block", "type": "html", "content": "<table>...</table>" }], "createdAt": "2026-04-19T12:00:00.000Z", "updatedAt": "2026-04-19T12:05:00.000Z" } }
text
html
curl -X PATCH "https://api.sequenzy.com/api/v1/emails/email_123/blocks" \ -H "Authorization: Bearer API_KEY" \ -H "Content-Type: application/json" \ -d '{"blockId":"legacy-block","type":"html"}'