API Reference for Marketo Engage

Get Email Template Content by Id

GET /rest/asset/v1/emailTemplate/{id}/content

Returns the content for a given email template.

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

Parameters

Path 1

id integer (int32) required

Query 1

status string

Status filter for draft or approved versions

Values approved draft

Responses

200 OK ResponseOfEmailTemplateContentResponse
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 EmailTemplateContentResponse

Model EmailTemplateContentResponse

content string required

HTML content of the template

id integer (int32) required

Unique integer id of the email template

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