Skip to content

Update Opt-In Confirmation Email

Tool name: update-opt-in-confirmation-email

Updates an opt-in confirmation email’s subject, sender, reply-to, CC, BCC or domain. Omitted values stay, though the domain may be normalized; ordinary senders need a configured address with a verified domain, derived when omitted. A dispatch profile decides its own sender and domain. The body is updated separately. This email records consent: change sender or subject only at the user’s request.

Input schema

optInProcessIdinteger, >= 1required

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

subjectnull or string, [ 1 .. 250 ] characters

Subject line of the confirmation email

Default:null
senderNamenull or string, [ 1 .. 250 ] characters

Name the email comes from

Default:null
senderEmailnull or string, <= 250 characters

Configured sender address; empty uses the account's address; "dispatchProfile" uses the sender profile for both address and domain (omit senderDomain)

Default:null
replyToEmailnull or string, <= 250 characters

Address a reply goes to; empty string returns it to the account's own address

Default:null
ccEmailnull or string, <= 250 characters

Address that receives a copy; empty string removes it

Default:null
bccEmailnull or string, <= 250 characters

Address that receives a blind copy; empty string removes it

Default:null
senderDomainnull or string, <= 250 characters

Domain the email is sent through; omit to derive it from the resulting sender address

Default:null
accountIdnull or integer, >= 1

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

Default:null
Input example
{ "optInProcessId": 1, "subject": null, "senderName": null, "senderEmail": null, "replyToEmail": null, "ccEmail": null, "bccEmail": null, "senderDomain": null, "accountId": null }

Output schema

emailIdintegerrequired
optInProcessIdintegerrequired
subjectstringrequired
senderNamestringrequired
senderEmailstringrequired
replyToEmailstringrequired
ccEmailstringrequired
bccEmailstringrequired
senderDomainstringrequired
senderEmailOptionsArray of stringsrequired
ccBccEmailOptionsArray of stringsrequired
senderDomainOptionsArray of stringsrequired
senderIdentityobjectrequired
bodyIsEditablebooleanrequired
editUrlstringrequired
Output example
{ "emailId": 0, "optInProcessId": 0, "subject": "string", "senderName": "string", "senderEmail": "string", "replyToEmail": "string", "ccEmail": "string", "bccEmail": "string", "senderDomain": "string", "senderEmailOptions": [ "string" ], "ccBccEmailOptions": [ "string" ], "senderDomainOptions": [ "string" ], "senderIdentity": { "effectiveSenderEmail": "string", "customerDomain": "string", "normalizedSenderDomain": "string", "status": "ready", "isUsable": true, "senderEmailOptions": [ "string" ], "senderDomainOptions": [ "string" ] }, "bodyIsEditable": true, "editUrl": "string" }