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

isTestRecipientList

Queries whether a recipient list is a test recipient list in Optimizely Campaign.

Type: Boolean

Parameters

NameTypeValue
sessionIdStringID of the session
recipientListIdlongID of the recipient list

Return values

  • true: A test recipient list
  • false: Not a test recipient list

Code structure

boolean isTestRecipientList(String sessionId, long recipientListId)