HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

getContent

Queries the content of a mailing of a specific MIME type in Optimizely Campaign.

Type: String

Parameters

NameTypeValue
sessionIdStringID of the session
mailingIdlongID of the mailing
mimeTypeStringMIME type (text/plain or text/html) of the mailing

Return values

Content of the mailing

Code structure

String getContent(String sessionId, long mailingId, String mimeType)

What’s Next
Did this page help you?