Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
API Reference

Get the content of a mailing (email)

Get the content of a mailing (email) and define the content type to be delivered.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Client ID

int64
required

Transactional mail ID

Query Params
string
enum
Defaults to message
Allowed:
Headers
string

Controls which content type is used

Available values : text/plain, text/html

Default value : text/plain

Does not work with the "Try it out" feature.

Responses
200

The content of the mailing (in the indicated content type) was retrieved successfully.

404

No content could be found for the indicated content type. Ensure that the "Accept" parameter has the correct content type and the content exists.

406

The content type is not supported. Ensure that the "Accept" parameter has the correct content type.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here!