Marketo · Capability

Marketo Engage Rest API — Templates

Marketo Engage Rest API — Templates. 1 operations. Lead operation: Marketo Get Email Template Used By. Self-contained Naftiko capability covering one Marketo business surface.

Run with Naftiko MarketoTemplates

What You Can Do

GET
Getemailtemplateusedbyusingget — Marketo Get Email Template Used By
/v1/asset/v1/emailtemplates/{id}/usedby-json

MCP Tools

marketo-get-email-template-used

Marketo Get Email Template Used By

read-only idempotent

Capability Spec

engage-rest-templates.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Marketo Engage Rest API — Templates
  description: 'Marketo Engage Rest API — Templates. 1 operations. Lead operation: Marketo Get Email Template Used By. Self-contained
    Naftiko capability covering one Marketo business surface.'
  tags:
  - Marketo
  - Templates
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MARKETO_API_KEY: MARKETO_API_KEY
capability:
  consumes:
  - type: http
    namespace: engage-rest-templates
    baseUri: https://localhost:8080
    description: Marketo Engage Rest API — Templates business capability. Self-contained, no shared references.
    resources:
    - name: rest-asset-v1-emailTemplates-id-usedBy.json
      path: /rest/asset/v1/emailTemplates/{id}/usedBy.json
      operations:
      - name: getemailtemplateusedbyusingget
        method: GET
        description: Marketo Get Email Template Used By
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: Id of the email template
          required: true
        - name: offset
          in: query
          type: integer
          description: Integer offset for paging
        - name: maxReturn
          in: query
          type: integer
          description: Maximum number of channels to return. Max 200, default 20
  exposes:
  - type: rest
    namespace: engage-rest-templates-rest
    port: 8080
    description: REST adapter for Marketo Engage Rest API — Templates. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/asset/v1/emailtemplates/{id}/usedby-json
      name: rest-asset-v1-emailtemplates-id-usedby-json
      description: REST surface for rest-asset-v1-emailTemplates-id-usedBy.json.
      operations:
      - method: GET
        name: getemailtemplateusedbyusingget
        description: Marketo Get Email Template Used By
        call: engage-rest-templates.getemailtemplateusedbyusingget
        with:
          id: rest.id
          offset: rest.offset
          maxReturn: rest.maxReturn
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: engage-rest-templates-mcp
    port: 9090
    transport: http
    description: MCP adapter for Marketo Engage Rest API — Templates. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: marketo-get-email-template-used
      description: Marketo Get Email Template Used By
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: engage-rest-templates.getemailtemplateusedbyusingget
      with:
        id: tools.id
        offset: tools.offset
        maxReturn: tools.maxReturn
      outputParameters:
      - type: object
        mapping: $.