PATCH
/emails/{email_id}
Update Email
Update mutable email content while still queued.
Update mutable email content while still queued.
curl -X PATCH "http://localhost:8080/v1/emails/em_123" \
-H "Authorization: Bearer <API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"subject": "Updated subject",
"text": "Updated plain-text body"
}'
{
"object": "email",
"id": "em_123",
"status": "queued",
"to": [
"customer@example.com"
]
}
{
"subject": "Updated subject",
"text": "Updated plain-text body"
}