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

copy

Creates a copy of an existing recipient list in Optimizely Campaign.

📘

Note

Only the definition of the given recipient list is copied, not the recipients. The created list is empty.

Type: long

Parameters

NameTypeValue
sessionIdStringID of the session
recipientListIdlongID of the recipient list to be copied

Return values

ID of the new recipient list

Code structure

long copy(String sessionId, long recipientListId)