Marketo · Capability
Marketo Engage Rest API — Smart
Marketo Engage Rest API — Smart. 15 operations. Lead operation: Marketo Get Smart Campaign by Name. Self-contained Naftiko capability covering one Marketo business surface.
What You Can Do
GET
Getsmartcampaignbynameusingget
— Marketo Get Smart Campaign by Name
/v1/asset/v1/smartcampaign/byname-json
GET
Getsmartcampaignbyidusingget
— Marketo Get Smart Campaign by Id
/v1/asset/v1/smartcampaign/id-json
POST
Updatesmartcampaignusingpost
— Marketo Update Smart Campaign
/v1/asset/v1/smartcampaign/id-json
POST
Activatesmartcampaignusingpost
— Marketo Activate Smart Campaign
/v1/asset/v1/smartcampaign/{id}/activate-json
POST
Clonesmartcampaignusingpost
— Marketo Clone Smart Campaign
/v1/asset/v1/smartcampaign/{id}/clone-json
POST
Deactivatesmartcampaignusingpost
— Marketo Deactivate Smart Campaign
/v1/asset/v1/smartcampaign/{id}/deactivate-json
POST
Deletesmartcampaignusingpost
— Marketo Delete Smart Campaign
/v1/asset/v1/smartcampaign/{id}/delete-json
GET
Getsmartlistbysmartcampaignidusingget
— Marketo Get Smart List by Smart Campaign Id
/v1/asset/v1/smartcampaign/{id}/smartlist-json
GET
Getallsmartcampaignsget
— Marketo Get Smart Campaigns
/v1/asset/v1/smartcampaigns-json
POST
Createsmartcampaignusingpost
— Marketo Create Smart Campaign
/v1/asset/v1/smartcampaigns-json
GET
Getsmartlistbynameusingget
— Marketo Get Smart List by Name
/v1/asset/v1/smartlist/byname-json
GET
Getsmartlistbyidusingget
— Marketo Get Smart List by Id
/v1/asset/v1/smartlist/id-json
POST
Clonesmartlistusingpost
— Marketo Clone Smart List
/v1/asset/v1/smartlist/{id}/clone-json
POST
Deletesmartlistbyidusingpost
— Marketo Delete Smart List
/v1/asset/v1/smartlist/{id}/delete-json
GET
Getsmartlistsusingget
— Marketo Get Smart Lists
/v1/asset/v1/smartlists-json
MCP Tools
marketo-get-smart-campaign-name
Marketo Get Smart Campaign by Name
read-only
idempotent
marketo-get-smart-campaign-id
Marketo Get Smart Campaign by Id
read-only
idempotent
marketo-update-smart-campaign
Marketo Update Smart Campaign
marketo-activate-smart-campaign
Marketo Activate Smart Campaign
marketo-clone-smart-campaign
Marketo Clone Smart Campaign
marketo-deactivate-smart-campaign
Marketo Deactivate Smart Campaign
marketo-delete-smart-campaign
Marketo Delete Smart Campaign
marketo-get-smart-list-smart
Marketo Get Smart List by Smart Campaign Id
read-only
idempotent
marketo-get-smart-campaigns
Marketo Get Smart Campaigns
read-only
idempotent
marketo-create-smart-campaign
Marketo Create Smart Campaign
marketo-get-smart-list-name
Marketo Get Smart List by Name
read-only
idempotent
marketo-get-smart-list-id
Marketo Get Smart List by Id
read-only
idempotent
marketo-clone-smart-list
Marketo Clone Smart List
marketo-delete-smart-list
Marketo Delete Smart List
marketo-get-smart-lists
Marketo Get Smart Lists
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Marketo Engage Rest API — Smart
description: 'Marketo Engage Rest API — Smart. 15 operations. Lead operation: Marketo Get Smart Campaign by Name. Self-contained
Naftiko capability covering one Marketo business surface.'
tags:
- Marketo
- Smart
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-smart
baseUri: https://localhost:8080
description: Marketo Engage Rest API — Smart business capability. Self-contained, no shared references.
resources:
- name: rest-asset-v1-smartCampaign-byName.json
path: /rest/asset/v1/smartCampaign/byName.json
operations:
- name: getsmartcampaignbynameusingget
method: GET
description: Marketo Get Smart Campaign by Name
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: name
in: query
type: string
description: Name for the smart campaign
required: true
- name: rest-asset-v1-smartCampaign-id}.json
path: /rest/asset/v1/smartCampaign/{id}.json
operations:
- name: getsmartcampaignbyidusingget
method: GET
description: Marketo Get Smart Campaign by Id
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: integer
description: Id for the smart campaign
required: true
- name: updatesmartcampaignusingpost
method: POST
description: Marketo Update Smart Campaign
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: integer
description: Id for the smart campaign
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: rest-asset-v1-smartCampaign-id-activate.json
path: /rest/asset/v1/smartCampaign/{id}/activate.json
operations:
- name: activatesmartcampaignusingpost
method: POST
description: Marketo Activate Smart Campaign
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: integer
description: Id of the smart campaign
required: true
- name: rest-asset-v1-smartCampaign-id-clone.json
path: /rest/asset/v1/smartCampaign/{id}/clone.json
operations:
- name: clonesmartcampaignusingpost
method: POST
description: Marketo Clone Smart Campaign
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: integer
description: Id of the smart campaign
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: rest-asset-v1-smartCampaign-id-deactivate.json
path: /rest/asset/v1/smartCampaign/{id}/deactivate.json
operations:
- name: deactivatesmartcampaignusingpost
method: POST
description: Marketo Deactivate Smart Campaign
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: integer
description: Id of the smart campaign
required: true
- name: rest-asset-v1-smartCampaign-id-delete.json
path: /rest/asset/v1/smartCampaign/{id}/delete.json
operations:
- name: deletesmartcampaignusingpost
method: POST
description: Marketo Delete Smart Campaign
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: integer
description: Id of the smart campaign
required: true
- name: rest-asset-v1-smartCampaign-id-smartList.json
path: /rest/asset/v1/smartCampaign/{id}/smartList.json
operations:
- name: getsmartlistbysmartcampaignidusingget
method: GET
description: Marketo Get Smart List by Smart Campaign Id
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: integer
description: Id for the smart campaign containing smart list to retrieve
required: true
- name: includeRules
in: query
type: boolean
description: Set true to populate smart list rules. Default false
- name: rest-asset-v1-smartCampaigns.json
path: /rest/asset/v1/smartCampaigns.json
operations:
- name: getallsmartcampaignsget
method: GET
description: Marketo Get Smart Campaigns
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: maxReturn
in: query
type: integer
description: Maximum number of smart campaigns to return. Max 200, default 20
- name: offset
in: query
type: integer
description: Integer offset for paging
- name: folder
in: query
type: string
description: JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program'
- name: earliestUpdatedAt
in: query
type: string
description: Exclude smart campaigns prior to this date. Must be valid ISO-8601 string. See <a href="http://developers.marketo.com/rest-api/lead-database/fields/field-types/
- name: latestUpdatedAt
in: query
type: string
description: Exclude smart campaigns after this date. Must be valid ISO-8601 string. See <a href="http://developers.marketo.com/rest-api/lead-database/fields/field-types/">D
- name: isActive
in: query
type: boolean
description: Set true to return only active campaigns. Default false
- name: createsmartcampaignusingpost
method: POST
description: Marketo Create Smart Campaign
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: rest-asset-v1-smartList-byName.json
path: /rest/asset/v1/smartList/byName.json
operations:
- name: getsmartlistbynameusingget
method: GET
description: Marketo Get Smart List by Name
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: name
in: query
type: string
description: Name of smart list to retrieve
required: true
- name: rest-asset-v1-smartList-id}.json
path: /rest/asset/v1/smartList/{id}.json
operations:
- name: getsmartlistbyidusingget
method: GET
description: Marketo Get Smart List by Id
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: integer
description: Id of the smart list to retrieve
required: true
- name: includeRules
in: query
type: boolean
description: Set true to populate smart list rules. Default false
- name: rest-asset-v1-smartList-id-clone.json
path: /rest/asset/v1/smartList/{id}/clone.json
operations:
- name: clonesmartlistusingpost
method: POST
description: Marketo Clone Smart List
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: integer
description: Id of smart list to clone
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: rest-asset-v1-smartList-id-delete.json
path: /rest/asset/v1/smartList/{id}/delete.json
operations:
- name: deletesmartlistbyidusingpost
method: POST
description: Marketo Delete Smart List
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: integer
description: Id of the smart list to delete
required: true
- name: rest-asset-v1-smartLists.json
path: /rest/asset/v1/smartLists.json
operations:
- name: getsmartlistsusingget
method: GET
description: Marketo Get Smart Lists
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: folder
in: query
type: string
description: JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program'
- name: offset
in: query
type: integer
description: Integer offset for paging
- name: maxReturn
in: query
type: integer
description: Maximum number of smart lists to return. Max 200, default 20.
- name: earliestUpdatedAt
in: query
type: string
description: Exclude smart lists prior to this date. Must be valid ISO-8601 string. See <a href="http://developers.marketo.com/rest-api/lead-database/fields/field-types/">Da
- name: latestUpdatedAt
in: query
type: string
description: Exclude smart lists after this date. Must be valid ISO-8601 string. See <a href="http://developers.marketo.com/rest-api/lead-database/fields/field-types/">Datet
exposes:
- type: rest
namespace: engage-rest-smart-rest
port: 8080
description: REST adapter for Marketo Engage Rest API — Smart. One Spectral-compliant resource per consumed operation,
prefixed with /v1.
resources:
- path: /v1/asset/v1/smartcampaign/byname-json
name: rest-asset-v1-smartcampaign-byname-json
description: REST surface for rest-asset-v1-smartCampaign-byName.json.
operations:
- method: GET
name: getsmartcampaignbynameusingget
description: Marketo Get Smart Campaign by Name
call: engage-rest-smart.getsmartcampaignbynameusingget
with:
name: rest.name
outputParameters:
- type: object
mapping: $.
- path: /v1/asset/v1/smartcampaign/id-json
name: rest-asset-v1-smartcampaign-id-json
description: REST surface for rest-asset-v1-smartCampaign-id}.json.
operations:
- method: GET
name: getsmartcampaignbyidusingget
description: Marketo Get Smart Campaign by Id
call: engage-rest-smart.getsmartcampaignbyidusingget
with:
id: rest.id
outputParameters:
- type: object
mapping: $.
- method: POST
name: updatesmartcampaignusingpost
description: Marketo Update Smart Campaign
call: engage-rest-smart.updatesmartcampaignusingpost
with:
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/asset/v1/smartcampaign/{id}/activate-json
name: rest-asset-v1-smartcampaign-id-activate-json
description: REST surface for rest-asset-v1-smartCampaign-id-activate.json.
operations:
- method: POST
name: activatesmartcampaignusingpost
description: Marketo Activate Smart Campaign
call: engage-rest-smart.activatesmartcampaignusingpost
with:
id: rest.id
outputParameters:
- type: object
mapping: $.
- path: /v1/asset/v1/smartcampaign/{id}/clone-json
name: rest-asset-v1-smartcampaign-id-clone-json
description: REST surface for rest-asset-v1-smartCampaign-id-clone.json.
operations:
- method: POST
name: clonesmartcampaignusingpost
description: Marketo Clone Smart Campaign
call: engage-rest-smart.clonesmartcampaignusingpost
with:
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/asset/v1/smartcampaign/{id}/deactivate-json
name: rest-asset-v1-smartcampaign-id-deactivate-json
description: REST surface for rest-asset-v1-smartCampaign-id-deactivate.json.
operations:
- method: POST
name: deactivatesmartcampaignusingpost
description: Marketo Deactivate Smart Campaign
call: engage-rest-smart.deactivatesmartcampaignusingpost
with:
id: rest.id
outputParameters:
- type: object
mapping: $.
- path: /v1/asset/v1/smartcampaign/{id}/delete-json
name: rest-asset-v1-smartcampaign-id-delete-json
description: REST surface for rest-asset-v1-smartCampaign-id-delete.json.
operations:
- method: POST
name: deletesmartcampaignusingpost
description: Marketo Delete Smart Campaign
call: engage-rest-smart.deletesmartcampaignusingpost
with:
id: rest.id
outputParameters:
- type: object
mapping: $.
- path: /v1/asset/v1/smartcampaign/{id}/smartlist-json
name: rest-asset-v1-smartcampaign-id-smartlist-json
description: REST surface for rest-asset-v1-smartCampaign-id-smartList.json.
operations:
- method: GET
name: getsmartlistbysmartcampaignidusingget
description: Marketo Get Smart List by Smart Campaign Id
call: engage-rest-smart.getsmartlistbysmartcampaignidusingget
with:
id: rest.id
includeRules: rest.includeRules
outputParameters:
- type: object
mapping: $.
- path: /v1/asset/v1/smartcampaigns-json
name: rest-asset-v1-smartcampaigns-json
description: REST surface for rest-asset-v1-smartCampaigns.json.
operations:
- method: GET
name: getallsmartcampaignsget
description: Marketo Get Smart Campaigns
call: engage-rest-smart.getallsmartcampaignsget
with:
maxReturn: rest.maxReturn
offset: rest.offset
folder: rest.folder
earliestUpdatedAt: rest.earliestUpdatedAt
latestUpdatedAt: rest.latestUpdatedAt
isActive: rest.isActive
outputParameters:
- type: object
mapping: $.
- method: POST
name: createsmartcampaignusingpost
description: Marketo Create Smart Campaign
call: engage-rest-smart.createsmartcampaignusingpost
with:
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/asset/v1/smartlist/byname-json
name: rest-asset-v1-smartlist-byname-json
description: REST surface for rest-asset-v1-smartList-byName.json.
operations:
- method: GET
name: getsmartlistbynameusingget
description: Marketo Get Smart List by Name
call: engage-rest-smart.getsmartlistbynameusingget
with:
name: rest.name
outputParameters:
- type: object
mapping: $.
- path: /v1/asset/v1/smartlist/id-json
name: rest-asset-v1-smartlist-id-json
description: REST surface for rest-asset-v1-smartList-id}.json.
operations:
- method: GET
name: getsmartlistbyidusingget
description: Marketo Get Smart List by Id
call: engage-rest-smart.getsmartlistbyidusingget
with:
id: rest.id
includeRules: rest.includeRules
outputParameters:
- type: object
mapping: $.
- path: /v1/asset/v1/smartlist/{id}/clone-json
name: rest-asset-v1-smartlist-id-clone-json
description: REST surface for rest-asset-v1-smartList-id-clone.json.
operations:
- method: POST
name: clonesmartlistusingpost
description: Marketo Clone Smart List
call: engage-rest-smart.clonesmartlistusingpost
with:
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/asset/v1/smartlist/{id}/delete-json
name: rest-asset-v1-smartlist-id-delete-json
description: REST surface for rest-asset-v1-smartList-id-delete.json.
operations:
- method: POST
name: deletesmartlistbyidusingpost
description: Marketo Delete Smart List
call: engage-rest-smart.deletesmartlistbyidusingpost
with:
id: rest.id
outputParameters:
- type: object
mapping: $.
- path: /v1/asset/v1/smartlists-json
name: rest-asset-v1-smartlists-json
description: REST surface for rest-asset-v1-smartLists.json.
operations:
- method: GET
name: getsmartlistsusingget
description: Marketo Get Smart Lists
call: engage-rest-smart.getsmartlistsusingget
with:
folder: rest.folder
offset: rest.offset
maxReturn: rest.maxReturn
earliestUpdatedAt: rest.earliestUpdatedAt
latestUpdatedAt: rest.latestUpdatedAt
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: engage-rest-smart-mcp
port: 9090
transport: http
description: MCP adapter for Marketo Engage Rest API — Smart. One tool per consumed operation, routed inline through this
capability's consumes block.
tools:
- name: marketo-get-smart-campaign-name
description: Marketo Get Smart Campaign by Name
hints:
readOnly: true
destructive: false
idempotent: true
call: engage-rest-smart.getsmartcampaignbynameusingget
with:
name: tools.name
outputParameters:
- type: object
mapping: $.
- name: marketo-get-smart-campaign-id
description: Marketo Get Smart Campaign by Id
hints:
readOnly: true
destructive: false
idempotent: true
call: engage-rest-smart.getsmartcampaignbyidusingget
with:
id: tools.id
outputParameters:
- type: object
mapping: $.
- name: marketo-update-smart-campaign
description: Marketo Update Smart Campaign
hints:
readOnly: false
destructive: false
idempotent: false
call: engage-rest-smart.updatesmartcampaignusingpost
with:
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: marketo-activate-smart-campaign
description: Marketo Activate Smart Campaign
hints:
readOnly: false
destructive: false
idempotent: false
call: engage-rest-smart.activatesmartcampaignusingpost
with:
id: tools.id
outputParameters:
- type: object
mapping: $.
- name: marketo-clone-smart-campaign
description: Marketo Clone Smart Campaign
hints:
readOnly: false
destructive: false
idempotent: false
call: engage-rest-smart.clonesmartcampaignusingpost
with:
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: marketo-deactivate-smart-campaign
description: Marketo Deactivate Smart Campaign
hints:
readOnly: false
destructive: false
idempotent: false
call: engage-rest-smart.deactivatesmartcampaignusingpost
with:
id: tools.id
outputParameters:
- type: object
mapping: $.
- name: marketo-delete-smart-campaign
description: Marketo Delete Smart Campaign
hints:
readOnly: false
destructive: false
idempotent: false
call: engage-rest-smart.deletesmartcampaignusingpost
with:
id: tools.id
outputParameters:
- type: object
mapping: $.
- name: marketo-get-smart-list-smart
description: Marketo Get Smart List by Smart Campaign Id
hints:
readOnly: true
destructive: false
idempotent: true
call: engage-rest-smart.getsmartlistbysmartcampaignidusingget
with:
id: tools.id
includeRules: tools.includeRules
outputParameters:
- type: object
mapping: $.
- name: marketo-get-smart-campaigns
description: Marketo Get Smart Campaigns
hints:
readOnly: true
destructive: false
idempotent: true
call: engage-rest-smart.getallsmartcampaignsget
with:
maxReturn: tools.maxReturn
offset: tools.offset
folder: tools.folder
earliestUpdatedAt: tools.earliestUpdatedAt
latestUpdatedAt: tools.latestUpdatedAt
isActive: tools.isActive
outputParameters:
- type: object
mapping: $.
- name: marketo-create-smart-campaign
description: Marketo Create Smart Campaign
hints:
readOnly: false
destructive: false
idempotent: false
call: engage-rest-smart.createsmartcampaignusingpost
with:
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: marketo-get-smart-list-name
description: Marketo Get Smart List by Name
hints:
readOnly: true
destructive: false
idempotent: true
call: engage-rest-smart.getsmartlistbynameusingget
with:
name: tools.name
outputParameters:
- type: object
mapping: $.
- name: marketo-get-smart-list-id
description: Marketo Get Smart List by Id
hints:
readOnly: true
destructive: false
idempotent: true
call: engage-rest-smart.getsmartlistbyidusingget
with:
id: tools.id
includeRules: tools.includeRules
outputParameters:
- type: object
mapping: $.
- name: marketo-clone-smart-list
description: Marketo Clone Smart List
hints:
readOnly: false
destructive: false
idempotent: false
call: engage-rest-smart.clonesmartlistusingpost
with:
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: marketo-delete-smart-list
description: Marketo Delete Smart List
hints:
readOnly: false
destructive: false
idempotent: false
call: engage-rest-smart.deletesmartlistbyidusingpost
with:
id: tools.id
outputParameters:
- type: object
mapping: $.
- name: marketo-get-smart-lists
description: Marketo Get Smart Lists
hints:
readOnly: true
destructive: false
idempotent: true
call: engage-rest-smart.getsmartlistsusingget
with:
folder: tools.folder
offset: tools.offset
maxReturn: tools.maxReturn
earliestUpdatedAt: tools.earliestUpdatedAt
latestUpdatedAt: tools.latestUpdatedAt
outputParameters:
- type: object
mapping: $.