The get-html Ortto endpoint of the assets entity is used to retrieve the HTML of an asset and email details within Ortto’s customer data platform (CDP).
This will return for an asset:
The HTML
The from email
The from name
The subject
The preview text
The reply-to
This page provides descriptions of this endpoint’s:
Example get HTML asset request body from Ortto's CDP
json
{
"asset_id": "63f3f1d0ae7e17e725033fe3"
}
Valid request body elements
The following table lists all valid, optional request body elements that are available at this endpoint.
Element
Type
Description
asset_id
string
A string identifying the asset ID by their unique ID number.
Response payload
The following JSON object is an example of an assets HTML call that Ortto retrieves from your Ortto account’s CDP after a request to this endpoint.
NOTE: The response may vary based on the structure of your asset and it's HTML.
Due to the length of the response, the response below has been shortened but will contain content within the relevant sections when appropriate and the full HTML.