Skip to content

Get Opt-In Confirmation Email Content

Tool name: get-opt-in-confirmation-email-content

Reads the body of the confirmation email a double opt-in process sends: its subject, its HTML body and its plain-text body, and which of the two it actually sends. Both bodies are always returned, because which one a recipient sees is their mail client's choice. This email is not a drag-and-drop document and the block tools do not work on it -- its text is rich text, written with update-opt-in-confirmation-email-content or by hand in the KlickTipp editor the answer links to. Sender, reply-to and the rest are get-opt-in-confirmation-email.

Input schema

optInProcessIdinteger, >= 1required

ID of the opt-in process whose confirmation email is read

accountIdnull or integer, >= 1

User ID of the account; omit for the account the access token works in

Default:null
Input example
{ "optInProcessId": 1, "accountId": null }

Output schema

emailIdintegerrequired
optInProcessIdintegerrequired
subjectstringrequired
contentTypestringrequired
htmlstringrequired
plainstringrequired
validationMessagesArray of objectsrequired
storedbooleanrequired
editUrlstringrequired
Output example
{ "emailId": 0, "optInProcessId": 0, "subject": "string", "contentType": "string", "html": "string", "plain": "string", "validationMessages": [ { "type": "string", "code": "string", "message": "string" } ], "stored": true, "editUrl": "string" }