- Update Opt-In Confirmation Email Content
Tool name: update-opt-in-confirmation-email-content
Replaces the body of the confirmation email a double opt-in process sends. html and plain are each written whole, not patched, and a part that is not given keeps its text -- so writing only one leaves the email saying two different things to two recipients. Write both. The platform checks the result the way the editor does: errors, such as a missing unsubscribe link or an empty subject, stop the write and are returned in validationMessages with stored false; warnings do not. This email is the legal record of a contact's consent in many countries -- it must still say who is subscribing them to what. Change it only when the user asked for it, and say what changed.
Complete HTML body; replaces the current one, empty string makes the email plain-text only
Complete plain-text body; replaces the current one
{ "optInProcessId": 1, "html": null, "plain": null, "subject": null, "accountId": null }
{ "emailId": 0, "optInProcessId": 0, "subject": "string", "contentType": "plain", "html": "string", "plain": "string", "validationMessages": [ { "type": "error", "code": "string", "message": "string" } ], "stored": true, "editUrl": "string" }