HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

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
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**