HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

getReason

Queries the reason for a blocklist entry in Optimizely Campaign.

Type: String

Parameters

NameTypeValue
sessionIdStringID of the session
entryStringEntry (for example, an email address) whose reason is to be queried (can contain wildcards like ? or *)

Return values

Reason for a blocklist entry

Code structure

String getReason(String sessionId, String entry)

What’s Next
Did this page help you?