Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityDoc feedbackLog In


Creates a confirmed opt-in process in Optimizely Campaign.

The mailing must be of the type confirmation.

Type: long


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

Return values

ID of the opt-in process

Code structure

long createConfirmedOptinProcess(String sessionId, String name, String description, long mailingId)