API Reference for Marketo Engage

Get Snippets

GET /rest/asset/v1/snippets.json

Retrieves a list of accessible snippets from the target instance.

Note: Fragments created with the new email designer may appear in this API's response, but some of the fields may be null or incomplete. For complete and reliable details of these assets, use the Fragments (New) APIs; refer to the List Fragments endpoint.

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

Parameters

Query 3

status string

Status filter for draft or approved versions

Values approved draft

maxReturn integer (int32)

Maximum number of records to return. Max 200, default 20

offset integer (int32)

Integer offset for paging

Responses

200 OK ResponseOfSnippetResponse
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 SnippetResponse

Model SnippetResponse

createdAt string (date-time)

Datetime the asset was created

description string

Description of the asset

folder SnippetFolder required

JSON representation of parent folder, with members 'folderName', 'value', and 'type' which may be 'Folder' or 'Program'

Model SnippetFolder

value integer (int32) required

Id of the folder

type string required

Type of folder

Values Folder Program

folderName string required

Name of folder

id integer (int64)

Id of the asset

name string

Name of the asset

status string required

Status filter for draft or approved versions

updatedAt string (date-time)

Datetime the asset was most recently updated

url string

Url of the asset in the Marketo UI

workspace string

Name of the workspace

success boolean
warnings array of string
Generated example
{
  "errors": [
    {
      "code": "string",
      "message": "string"
    }
  ],
  "requestId": "123",
  "result": [
    {
      "createdAt": "2026-01-15T10:30:00Z",
      "description": "string",
      "folder": {
        "value": 123,
        "type": "Folder",
        "folderName": "Example name"
      },
      "id": 123,
      "name": "Example name",
      "status": "string",
      "updatedAt": "2026-01-15T10:30:00Z",
      "url": "https://example.com",
      "workspace": "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