HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In


Queries the IDs of all mailings of a specific type in Optimizely Campaign.

Type: long[ ]


sessionIdStringID of the session
mailingTypeStringType of the mailing  (regular, event, confirmation, template, campaign, split)

Return values

IDs of all mailings of the given type

Code structure

long[] getIds(String sessionId, String mailingType)

What’s Next
Did this page help you?