HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

getUnsubscribeCount

Counts the unsubscribes for a mailing in Optimizely Campaign.

Type: int

Parameters

NameTypeValue
sessionIdStringID of the session
mailingIdlongID of the mailing

Return values

Number of unsubscribes for the mailing

Code structure

int getUnsubscribeCount(String sessionId, long mailingId)

What’s Next