API Reference for Marketo Engage

Get Email Full Content

GET /rest/asset/v1/email/{id}/fullContent.json

Returns the serialized HTML version of the email.

Operation ID
getEmailFullContentUsingGET
Permissions
Read-Only Assets, Read-Write Assets. If leadId is passed in the request: Read-Only Lead, Read-Write Lead
Request format
application/x-www-form-urlencoded
Returns
ResponseOfGetEmailFullContentResponse

Parameters

Path 1

id integer (int32) required

Id of the email

Query 3

status string

Status filter for draft or approved versions. Defaults to approved if asset is approved, draft if not.

Values approved draft

leadId integer (int32)

The lead id to impersonate. Email is rendered as though it was received by this lead.

type string

Email content type to return. Default is HTML.

Values Text HTML

Responses

200 OK ResponseOfGetEmailFullContentResponse
errors array of Error

Model Error

code string required

Error code of the error. See full list of error codes here

message string required

Message describing the cause of the error

requestId string
result array of GetEmailFullContentResponse

Model GetEmailFullContentResponse

content string required

HTML content of the email

id integer (int32) required

Unique integer id of the email

status string required

Status filter for draft or approved versions

Values approved draft

success boolean
warnings array of string
Generated example
{
  "errors": [
    {
      "code": "string",
      "message": "string"
    }
  ],
  "requestId": "123",
  "result": [
    {
      "content": "string",
      "id": 123,
      "status": "approved"
    }
  ],
  "success": true,
  "warnings": [
    "string"
  ]
}

Referenced models

Generated from swagger-asset.json. Generated examples are inferred from the schema; they are illustrative and may not be valid production payloads.

↑ ↓ to move, ↵ to open, esc to closeSee all results