Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide
NuGetDev CommunityOptimizely AcademySubmit a ticket

Optimizely developer documentation

How can we help you?

Try our conversational search powered by Generative AI!

AI OnAI Off

createDoubleOptinProcess

Creates a double opt-in process in Optimizely Campaign.

The mailing must be of the type confirmation.

Type: long

Parameters

NameTypeValue
sessionIdStringID of the session
NameStringInternal name of the opt-in process
DescriptionStringInternal description of the opt-in process
mailingIdlongID of the mailing that is used for the opt-in process
confirmationUrlStringURL of confirmation page to which the recipient is directed to complete the registration process

Return values

ID of the opt-in process

Code structure

long createDoubleOptinProcess(String sessionId, String name, String description, long mailingId, String confirmationUrl)

Did this page help you?