Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

getConfirmationMailingId

Queries the ID of the mailing that sends the confirmation email in Optimizely Campaign.

This method is only applicable to opt-in processes of the type double or confirmed.

Type: long

Parameters

NameTypeValue
sessionIdStringID of the session
optinProcessIdlongID of the opt-in process

Return values

ID of the mailing that sends the confirmation email

Code structure

long getConfirmationMailingId(String sessionId, long optinProcessId)