API Reference for Marketo Engage

Get Email Content

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

Returns the content of the designated email.

Operation ID
getEmailContentByIdUsingGET
Permissions
Read-Only Assets, Read-Write Assets
Request format
application/x-www-form-urlencoded
Returns
ResponseOfEmailContentResponse

Parameters

Path 1

id integer (int32) required

Query 1

status string

Status filter for draft or approved versions

Values approved draft

Responses

200 OK ResponseOfEmailContentResponse
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 EmailContentResponse

Model EmailContentResponse

contentType string required

Type of content to set for the section.

htmlId string required

HTML id of the content section

index integer (int32)
isLocked boolean
parentHtmlId string
value object required

Contents of the section

success boolean
warnings array of string
Generated example
{
  "errors": [
    {
      "code": "string",
      "message": "string"
    }
  ],
  "requestId": "123",
  "result": [
    {
      "contentType": "string",
      "htmlId": "123",
      "index": 123,
      "isLocked": true,
      "parentHtmlId": "123",
      "value": {}
    }
  ],
  "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