API Reference for Marketo Engage

Get Email Template Used By

POST /rest/asset/v2/emailtemplate/usedby

Returns a list of assets that reference the specified email template.

Operation ID
getContentUsedByUsingPOST_emailtemplate
Permissions
Read-Only Assets, Access Design Studio
Request format
application/json
Returns
UsedByResponse, ErrorResponse

Parameters

Query 1

access_token string required

Token for Authorization

The Request Builder sends the token in the Authorization header instead, so it never appears in URLs.

Header 1

x-app-type string required

Application type header

Values marketo

Request body

application/json · required · UsedByRequestDto · 4 properties

assetId string required
pageIndex integer (int32)
pageSize integer (int32)
type string

Responses

200 OK UsedByResponse
success boolean
requestId string
result array of UsedByItemDTO

Model UsedByItemDTO

id string
name string
appData AppDataDTO

Model AppDataDTO

editorType string
folderId string
workspaceId string
channel string
contentType string
externalId string
pageDetails PageDetailsDTO

Model PageDetailsDTO

totalItems integer (int32)
pageSize integer (int32)
currentPage integer (int32)
Generated example
{
  "success": true,
  "requestId": "123",
  "result": [
    {
      "id": "123",
      "name": "Example name",
      "appData": {
        "editorType": "string",
        "folderId": "123",
        "workspaceId": "123"
      },
      "channel": "string",
      "contentType": "string",
      "externalId": "123"
    }
  ],
  "pageDetails": {
    "totalItems": 123,
    "pageSize": 123,
    "currentPage": 123
  }
}
Default Error ErrorResponse
success boolean
requestId string
errors array of ContentWaveErrorDTO

Model ContentWaveErrorDTO

key string
message string
code string
dynamicMessage string
type string

Severity of the entry: info, warning, or error.

source string

Origin of the entry, e.g. validation, template, fragment, message_render, asset_publish.

errorMessage string
errorPosition object

Location in the content the entry refers to (for script/validation errors).

Generated example
{
  "success": true,
  "requestId": "123",
  "errors": [
    {
      "key": "string",
      "message": "string",
      "code": "string",
      "dynamicMessage": "string",
      "type": "string",
      "source": "string",
      "errorMessage": "string",
      "errorPosition": {
        "line": 123,
        "column": 123
      }
    }
  ]
}

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