Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket


Changes the ID of a recipient in Optimizely Campaign.

This method is especially useful when email addresses are the primary key of your recipient list. If you change a recipient's ID, all historical information is preserved and assigned to the new ID.

Type: void


sessionIdStringID of the session
recipientIdStringOld ID of the recipient
newRecipientIdStringNew ID of the recipient

Return values

  • Code structure

    void changeRecipientId2(String sessionId, String recipientId, String newRecipientId)