API Reference for Marketo Engage

Get Snippet Content

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

Retrieves the content of the target snippet.

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

Parameters

Path 1

id integer (int32) required

Query 1

status string

Status filter for draft or approved versions

Values approved draft

Responses

200 OK ResponseOfSnippetContentResponse
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 SnippetContentResponse

Model SnippetContentResponse

content string

Content of the snippet

type string required

Type of snippet content

success boolean
warnings array of string
Generated example
{
  "errors": [
    {
      "code": "string",
      "message": "string"
    }
  ],
  "requestId": "123",
  "result": [
    {
      "content": "string",
      "type": "string"
    }
  ],
  "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