HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In


Counts the responses of a specific type for a mailing in Optimizely Campaign.

Type: int


sessionIdStringID of the session
categoryStringSee Response categories.
mailingIdlongID of the mailing

Return values

Number of responses of the given type for a mailing

Code structure

int getMailingResponseCount(String sessionId, String category, long mailingId)

What’s Next