Marketo · Capability

Marketo Engage Rest API — Full

Marketo Engage Rest API — Full. 3 operations. Lead operation: Marketo Get Email Full Content. Self-contained Naftiko capability covering one Marketo business surface.

Run with Naftiko MarketoFull

What You Can Do

GET
Getemailfullcontentusingget — Marketo Get Email Full Content
/v1/asset/v1/email/{id}/fullcontent-json
POST
Createemailfullcontentusingpost — Marketo Update Email Full Content
/v1/asset/v1/email/{id}/fullcontent-json
GET
Getlandingpagefullcontentusingget — Marketo Get Landing Page Full Content
/v1/asset/v1/landingpage/{id}/fullcontent-json

MCP Tools

marketo-get-email-full-content

Marketo Get Email Full Content

read-only idempotent
marketo-update-email-full-content

Marketo Update Email Full Content

marketo-get-landing-page-full

Marketo Get Landing Page Full Content

read-only idempotent

Capability Spec

engage-rest-full.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Marketo Engage Rest API — Full
  description: 'Marketo Engage Rest API — Full. 3 operations. Lead operation: Marketo Get Email Full Content. Self-contained
    Naftiko capability covering one Marketo business surface.'
  tags:
  - Marketo
  - Full
  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-full
    baseUri: https://localhost:8080
    description: Marketo Engage Rest API — Full business capability. Self-contained, no shared references.
    resources:
    - name: rest-asset-v1-email-id-fullContent.json
      path: /rest/asset/v1/email/{id}/fullContent.json
      operations:
      - name: getemailfullcontentusingget
        method: GET
        description: Marketo Get Email Full Content
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: Id of the email
          required: true
        - name: status
          in: query
          type: string
          description: Status filter for draft or approved versions. Defaults to approved if asset is approved, draft if not.
        - name: leadId
          in: query
          type: integer
          description: The lead id to impersonate. Email is rendered as though it was received by this lead.
        - name: type
          in: query
          type: string
          description: Email content type to return. Default is HTML.
      - name: createemailfullcontentusingpost
        method: POST
        description: Marketo Update Email Full Content
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: Id of the email
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: rest-asset-v1-landingPage-id-fullContent.json
      path: /rest/asset/v1/landingPage/{id}/fullContent.json
      operations:
      - name: getlandingpagefullcontentusingget
        method: GET
        description: Marketo Get Landing Page Full Content
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: Id of the landing page.
          required: true
        - name: leadId
          in: query
          type: integer
          description: The lead id to impersonate. Landing page is rendered as though it was viewed by this lead.
        - name: segmentation
          in: query
          type: string
          description: 'JSON array of of segmentations. Each segmentation must be a JSON object with members ''segmentationId'',
            and ''segmentId''.<br>Example: [{"segmentationId":1030,"seg'
  exposes:
  - type: rest
    namespace: engage-rest-full-rest
    port: 8080
    description: REST adapter for Marketo Engage Rest API — Full. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/asset/v1/email/{id}/fullcontent-json
      name: rest-asset-v1-email-id-fullcontent-json
      description: REST surface for rest-asset-v1-email-id-fullContent.json.
      operations:
      - method: GET
        name: getemailfullcontentusingget
        description: Marketo Get Email Full Content
        call: engage-rest-full.getemailfullcontentusingget
        with:
          id: rest.id
          status: rest.status
          leadId: rest.leadId
          type: rest.type
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createemailfullcontentusingpost
        description: Marketo Update Email Full Content
        call: engage-rest-full.createemailfullcontentusingpost
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/asset/v1/landingpage/{id}/fullcontent-json
      name: rest-asset-v1-landingpage-id-fullcontent-json
      description: REST surface for rest-asset-v1-landingPage-id-fullContent.json.
      operations:
      - method: GET
        name: getlandingpagefullcontentusingget
        description: Marketo Get Landing Page Full Content
        call: engage-rest-full.getlandingpagefullcontentusingget
        with:
          id: rest.id
          leadId: rest.leadId
          segmentation: rest.segmentation
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: engage-rest-full-mcp
    port: 9090
    transport: http
    description: MCP adapter for Marketo Engage Rest API — Full. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: marketo-get-email-full-content
      description: Marketo Get Email Full Content
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: engage-rest-full.getemailfullcontentusingget
      with:
        id: tools.id
        status: tools.status
        leadId: tools.leadId
        type: tools.type
      outputParameters:
      - type: object
        mapping: $.
    - name: marketo-update-email-full-content
      description: Marketo Update Email Full Content
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: engage-rest-full.createemailfullcontentusingpost
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: marketo-get-landing-page-full
      description: Marketo Get Landing Page Full Content
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: engage-rest-full.getlandingpagefullcontentusingget
      with:
        id: tools.id
        leadId: tools.leadId
        segmentation: tools.segmentation
      outputParameters:
      - type: object
        mapping: $.