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


Counts the responses generated for a mailing in Optimizely Campaign.

Type: int


sessionIdStringID of the session
mailingIdlongID of the mailing
categoryStringType of the response
You can set the following values:
- hardbounce
- softbounce
- autoresponder
- unknown

Return values

Number of responses generated for the mailing

Code structure

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