[
{
"handle": "leads",
"meta": {
"short": "Leads",
"description": "Manage and retrieve lead information from Marketo."
},
"endpoint": {
"value": "/rest/v1/leads.json",
"placeholders": []
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"result",
"id"
],
"meta": {
"description": "Unique identifier for the lead."
}
},
{
"name": "email",
"type": "String",
"selector": [
"result",
"email"
],
"meta": {
"description": "Email address of the lead."
}
},
{
"name": "firstName",
"type": "String",
"selector": [
"result",
"firstName"
],
"meta": {
"description": "First name of the lead."
}
},
{
"name": "lastName",
"type": "String",
"selector": [
"result",
"lastName"
],
"meta": {
"description": "Last name of the lead."
}
},
{
"name": "createdAt",
"type": "String",
"selector": [
"result",
"createdAt"
],
"meta": {
"description": "Timestamp when the lead was created."
}
},
{
"name": "updatedAt",
"type": "String",
"selector": [
"result",
"updatedAt"
],
"meta": {
"description": "Timestamp when the lead was last updated."
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {
"filterType": {
"value": "{{filterType}}",
"placeholders": [
{
"name": "filterType",
"type": "String",
"description": "Type of filter to apply.",
"required": false
}
]
},
"filterValues": {
"value": "{{filterValues}}",
"placeholders": [
{
"name": "filterValues",
"type": "String",
"description": "Values to filter by.",
"required": false
}
]
}
},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the lead to retrieve.",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"email\": \"{{email}}\", \"firstName\": \"{{firstName}}\", \"lastName\": \"{{lastName}}\"}]}",
"placeholders": [
{
"name": "email",
"type": "String",
"description": "Email address of the lead.",
"required": true
},
{
"name": "firstName",
"type": "String",
"description": "First name of the lead.",
"required": false
},
{
"name": "lastName",
"type": "String",
"description": "Last name of the lead.",
"required": false
}
]
}
},
"update": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"id\": {{id}}, \"email\": \"{{email}}\", \"firstName\": \"{{firstName}}\", \"lastName\": \"{{lastName}}\"}]}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the lead to update.",
"required": true
},
{
"name": "email",
"type": "String",
"description": "Email address of the lead.",
"required": false
},
{
"name": "firstName",
"type": "String",
"description": "First name of the lead.",
"required": false
},
{
"name": "lastName",
"type": "String",
"description": "Last name of the lead.",
"required": false
}
]
}
},
"delete": {
"method": "POST",
"path": {
"value": "/delete.json",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"id\": {{id}}}]}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the lead to delete.",
"required": true
}
]
}
}
},
"webhooks": [
{
"event": "leadCreated",
"path": "/webhooks/marketo/lead-created",
"payload": [
{
"name": "leadId",
"type": "Integer",
"selector": [
"leadId"
],
"meta": {
"description": "ID of the created lead."
}
},
{
"name": "email",
"type": "String",
"selector": [
"email"
],
"meta": {
"description": "Email address of the lead."
}
}
]
},
{
"event": "leadUpdated",
"path": "/webhooks/marketo/lead-updated",
"payload": [
{
"name": "leadId",
"type": "Integer",
"selector": [
"leadId"
],
"meta": {
"description": "ID of the updated lead."
}
},
{
"name": "email",
"type": "String",
"selector": [
"email"
],
"meta": {
"description": "Email address of the lead."
}
}
]
}
]
},
{
"handle": "activities",
"meta": {
"short": "Activities",
"description": "Retrieve and manage lead activities in Marketo."
},
"endpoint": {
"value": "/rest/v1/activities.json",
"placeholders": []
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"result",
"id"
],
"meta": {
"description": "Unique identifier for the activity."
}
},
{
"name": "leadId",
"type": "Integer",
"selector": [
"result",
"leadId"
],
"meta": {
"description": "ID of the lead associated with the activity."
}
},
{
"name": "activityTypeId",
"type": "Integer",
"selector": [
"result",
"activityTypeId"
],
"meta": {
"description": "Type of activity."
}
},
{
"name": "activityDate",
"type": "String",
"selector": [
"result",
"activityDate"
],
"meta": {
"description": "Date and time when the activity occurred."
}
},
{
"name": "primaryAttributeValue",
"type": "String",
"selector": [
"result",
"primaryAttributeValue"
],
"meta": {
"description": "Primary attribute value of the activity."
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {
"activityTypeIds": {
"value": "{{activityTypeIds}}",
"placeholders": [
{
"name": "activityTypeIds",
"type": "String",
"description": "Comma-separated list of activity type IDs to filter by.",
"required": false
}
]
},
"nextPageToken": {
"value": "{{nextPageToken}}",
"placeholders": [
{
"name": "nextPageToken",
"type": "String",
"description": "Token for pagination.",
"required": false
}
]
}
},
"bodyTemplate": null
}
},
"webhooks": [
{
"event": "activityCreated",
"path": "/webhooks/marketo/activity-created",
"payload": [
{
"name": "activityId",
"type": "Integer",
"selector": [
"activityId"
],
"meta": {
"description": "ID of the created activity."
}
},
{
"name": "leadId",
"type": "Integer",
"selector": [
"leadId"
],
"meta": {
"description": "ID of the lead associated with the activity."
}
}
]
}
]
},
{
"handle": "campaigns",
"meta": {
"short": "Campaigns",
"description": "Manage and retrieve marketing campaigns in Marketo."
},
"endpoint": {
"value": "/rest/v1/campaigns.json",
"placeholders": []
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"result",
"id"
],
"meta": {
"description": "Unique identifier for the campaign."
}
},
{
"name": "name",
"type": "String",
"selector": [
"result",
"name"
],
"meta": {
"description": "Name of the campaign."
}
},
{
"name": "description",
"type": "String",
"selector": [
"result",
"description"
],
"meta": {
"description": "Description of the campaign."
}
},
{
"name": "createdAt",
"type": "String",
"selector": [
"result",
"createdAt"
],
"meta": {
"description": "Timestamp when the campaign was created."
}
},
{
"name": "updatedAt",
"type": "String",
"selector": [
"result",
"updatedAt"
],
"meta": {
"description": "Timestamp when the campaign was last updated."
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the campaign to retrieve.",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
}
},
"webhooks": []
},
{
"handle": "programs",
"meta": {
"short": "Programs",
"description": "Manage and retrieve programs in Marketo."
},
"endpoint": {
"value": "/rest/asset/v1/programs.json",
"placeholders": []
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"result",
"id"
],
"meta": {
"description": "Unique identifier for the program."
}
},
{
"name": "name",
"type": "String",
"selector": [
"result",
"name"
],
"meta": {
"description": "Name of the program."
}
},
{
"name": "createdAt",
"type": "String",
"selector": [
"result",
"createdAt"
],
"meta": {
"description": "Timestamp when the resource was created."
}
},
{
"name": "updatedAt",
"type": "String",
"selector": [
"result",
"updatedAt"
],
"meta": {
"description": "Timestamp when the resource was last updated."
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the program to retrieve.",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"name\": \"{{name}}\"}]}",
"placeholders": [
{
"name": "name",
"type": "String",
"description": "Name of the program.",
"required": true
}
]
}
},
"update": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"id\": {{id}}, \"name\": \"{{name}}\"}]}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the program to update.",
"required": true
},
{
"name": "name",
"type": "String",
"description": "Name of the program.",
"required": false
}
]
}
},
"delete": {
"method": "POST",
"path": {
"value": "/delete.json",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"id\": {{id}}}]}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the program to delete.",
"required": true
}
]
}
}
},
"webhooks": []
},
{
"handle": "companies",
"meta": {
"short": "Companies",
"description": "Manage and retrieve companies in Marketo."
},
"endpoint": {
"value": "/rest/v1/companies.json",
"placeholders": []
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"result",
"id"
],
"meta": {
"description": "Unique identifier for the companie."
}
},
{
"name": "name",
"type": "String",
"selector": [
"result",
"name"
],
"meta": {
"description": "Name of the companie."
}
},
{
"name": "createdAt",
"type": "String",
"selector": [
"result",
"createdAt"
],
"meta": {
"description": "Timestamp when the resource was created."
}
},
{
"name": "updatedAt",
"type": "String",
"selector": [
"result",
"updatedAt"
],
"meta": {
"description": "Timestamp when the resource was last updated."
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the companie to retrieve.",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"name\": \"{{name}}\"}]}",
"placeholders": [
{
"name": "name",
"type": "String",
"description": "Name of the companie.",
"required": true
}
]
}
},
"update": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"id\": {{id}}, \"name\": \"{{name}}\"}]}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the companie to update.",
"required": true
},
{
"name": "name",
"type": "String",
"description": "Name of the companie.",
"required": false
}
]
}
},
"delete": {
"method": "POST",
"path": {
"value": "/delete.json",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"id\": {{id}}}]}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the companie to delete.",
"required": true
}
]
}
}
},
"webhooks": []
},
{
"handle": "opportunities",
"meta": {
"short": "Opportunities",
"description": "Manage and retrieve opportunities in Marketo."
},
"endpoint": {
"value": "/rest/v1/opportunities.json",
"placeholders": []
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"result",
"id"
],
"meta": {
"description": "Unique identifier for the opportunitie."
}
},
{
"name": "name",
"type": "String",
"selector": [
"result",
"name"
],
"meta": {
"description": "Name of the opportunitie."
}
},
{
"name": "createdAt",
"type": "String",
"selector": [
"result",
"createdAt"
],
"meta": {
"description": "Timestamp when the resource was created."
}
},
{
"name": "updatedAt",
"type": "String",
"selector": [
"result",
"updatedAt"
],
"meta": {
"description": "Timestamp when the resource was last updated."
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the opportunitie to retrieve.",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"name\": \"{{name}}\"}]}",
"placeholders": [
{
"name": "name",
"type": "String",
"description": "Name of the opportunitie.",
"required": true
}
]
}
},
"update": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"id\": {{id}}, \"name\": \"{{name}}\"}]}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the opportunitie to update.",
"required": true
},
{
"name": "name",
"type": "String",
"description": "Name of the opportunitie.",
"required": false
}
]
}
},
"delete": {
"method": "POST",
"path": {
"value": "/delete.json",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"id\": {{id}}}]}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the opportunitie to delete.",
"required": true
}
]
}
}
},
"webhooks": []
},
{
"handle": "customObjects",
"meta": {
"short": "Custom Objects",
"description": "Manage and retrieve custom objects in Marketo."
},
"endpoint": {
"value": "/rest/v1/customobjects.json",
"placeholders": []
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"result",
"id"
],
"meta": {
"description": "Unique identifier for the custom object."
}
},
{
"name": "name",
"type": "String",
"selector": [
"result",
"name"
],
"meta": {
"description": "Name of the custom object."
}
},
{
"name": "createdAt",
"type": "String",
"selector": [
"result",
"createdAt"
],
"meta": {
"description": "Timestamp when the resource was created."
}
},
{
"name": "updatedAt",
"type": "String",
"selector": [
"result",
"updatedAt"
],
"meta": {
"description": "Timestamp when the resource was last updated."
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the custom object to retrieve.",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"name\": \"{{name}}\"}]}",
"placeholders": [
{
"name": "name",
"type": "String",
"description": "Name of the custom object.",
"required": true
}
]
}
},
"update": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"id\": {{id}}, \"name\": \"{{name}}\"}]}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the custom object to update.",
"required": true
},
{
"name": "name",
"type": "String",
"description": "Name of the custom object.",
"required": false
}
]
}
},
"delete": {
"method": "POST",
"path": {
"value": "/delete.json",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"id\": {{id}}}]}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the custom object to delete.",
"required": true
}
]
}
}
},
"webhooks": []
},
{
"handle": "lists",
"meta": {
"short": "Lists",
"description": "Manage and retrieve lists in Marketo."
},
"endpoint": {
"value": "/rest/v1/lists.json",
"placeholders": []
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"result",
"id"
],
"meta": {
"description": "Unique identifier for the list."
}
},
{
"name": "name",
"type": "String",
"selector": [
"result",
"name"
],
"meta": {
"description": "Name of the list."
}
},
{
"name": "createdAt",
"type": "String",
"selector": [
"result",
"createdAt"
],
"meta": {
"description": "Timestamp when the resource was created."
}
},
{
"name": "updatedAt",
"type": "String",
"selector": [
"result",
"updatedAt"
],
"meta": {
"description": "Timestamp when the resource was last updated."
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the list to retrieve.",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"name\": \"{{name}}\"}]}",
"placeholders": [
{
"name": "name",
"type": "String",
"description": "Name of the list.",
"required": true
}
]
}
},
"update": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"id\": {{id}}, \"name\": \"{{name}}\"}]}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the list to update.",
"required": true
},
{
"name": "name",
"type": "String",
"description": "Name of the list.",
"required": false
}
]
}
},
"delete": {
"method": "POST",
"path": {
"value": "/delete.json",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"id\": {{id}}}]}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the list to delete.",
"required": true
}
]
}
}
},
"webhooks": []
},
{
"handle": "emails",
"meta": {
"short": "Emails",
"description": "Manage and retrieve emails in Marketo."
},
"endpoint": {
"value": "/rest/asset/v1/emails.json",
"placeholders": []
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"result",
"id"
],
"meta": {
"description": "Unique identifier for the email."
}
},
{
"name": "name",
"type": "String",
"selector": [
"result",
"name"
],
"meta": {
"description": "Name of the email."
}
},
{
"name": "createdAt",
"type": "String",
"selector": [
"result",
"createdAt"
],
"meta": {
"description": "Timestamp when the resource was created."
}
},
{
"name": "updatedAt",
"type": "String",
"selector": [
"result",
"updatedAt"
],
"meta": {
"description": "Timestamp when the resource was last updated."
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the email to retrieve.",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"name\": \"{{name}}\"}]}",
"placeholders": [
{
"name": "name",
"type": "String",
"description": "Name of the email.",
"required": true
}
]
}
},
"update": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"id\": {{id}}, \"name\": \"{{name}}\"}]}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the email to update.",
"required": true
},
{
"name": "name",
"type": "String",
"description": "Name of the email.",
"required": false
}
]
}
},
"delete": {
"method": "POST",
"path": {
"value": "/delete.json",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"id\": {{id}}}]}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the email to delete.",
"required": true
}
]
}
}
},
"webhooks": []
},
{
"handle": "landingPages",
"meta": {
"short": "Landing Pages",
"description": "Manage and retrieve landing pages in Marketo."
},
"endpoint": {
"value": "/rest/asset/v1/landingPages.json",
"placeholders": []
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"result",
"id"
],
"meta": {
"description": "Unique identifier for the landing page."
}
},
{
"name": "name",
"type": "String",
"selector": [
"result",
"name"
],
"meta": {
"description": "Name of the landing page."
}
},
{
"name": "createdAt",
"type": "String",
"selector": [
"result",
"createdAt"
],
"meta": {
"description": "Timestamp when the resource was created."
}
},
{
"name": "updatedAt",
"type": "String",
"selector": [
"result",
"updatedAt"
],
"meta": {
"description": "Timestamp when the resource was last updated."
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the landing page to retrieve.",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"name\": \"{{name}}\"}]}",
"placeholders": [
{
"name": "name",
"type": "String",
"description": "Name of the landing page.",
"required": true
}
]
}
},
"update": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"id\": {{id}}, \"name\": \"{{name}}\"}]}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the landing page to update.",
"required": true
},
{
"name": "name",
"type": "String",
"description": "Name of the landing page.",
"required": false
}
]
}
},
"delete": {
"method": "POST",
"path": {
"value": "/delete.json",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"id\": {{id}}}]}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the landing page to delete.",
"required": true
}
]
}
}
},
"webhooks": []
},
{
"handle": "forms",
"meta": {
"short": "Forms",
"description": "Manage and retrieve forms in Marketo."
},
"endpoint": {
"value": "/rest/asset/v1/forms.json",
"placeholders": []
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"result",
"id"
],
"meta": {
"description": "Unique identifier for the form."
}
},
{
"name": "name",
"type": "String",
"selector": [
"result",
"name"
],
"meta": {
"description": "Name of the form."
}
},
{
"name": "createdAt",
"type": "String",
"selector": [
"result",
"createdAt"
],
"meta": {
"description": "Timestamp when the resource was created."
}
},
{
"name": "updatedAt",
"type": "String",
"selector": [
"result",
"updatedAt"
],
"meta": {
"description": "Timestamp when the resource was last updated."
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the form to retrieve.",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"name\": \"{{name}}\"}]}",
"placeholders": [
{
"name": "name",
"type": "String",
"description": "Name of the form.",
"required": true
}
]
}
},
"update": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"id\": {{id}}, \"name\": \"{{name}}\"}]}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the form to update.",
"required": true
},
{
"name": "name",
"type": "String",
"description": "Name of the form.",
"required": false
}
]
}
},
"delete": {
"method": "POST",
"path": {
"value": "/delete.json",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"id\": {{id}}}]}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the form to delete.",
"required": true
}
]
}
}
},
"webhooks": []
},
{
"handle": "snippets",
"meta": {
"short": "Snippets",
"description": "Manage and retrieve snippets in Marketo."
},
"endpoint": {
"value": "/rest/asset/v1/snippets.json",
"placeholders": []
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"result",
"id"
],
"meta": {
"description": "Unique identifier for the snippet."
}
},
{
"name": "name",
"type": "String",
"selector": [
"result",
"name"
],
"meta": {
"description": "Name of the snippet."
}
},
{
"name": "createdAt",
"type": "String",
"selector": [
"result",
"createdAt"
],
"meta": {
"description": "Timestamp when the resource was created."
}
},
{
"name": "updatedAt",
"type": "String",
"selector": [
"result",
"updatedAt"
],
"meta": {
"description": "Timestamp when the resource was last updated."
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the snippet to retrieve.",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"name\": \"{{name}}\"}]}",
"placeholders": [
{
"name": "name",
"type": "String",
"description": "Name of the snippet.",
"required": true
}
]
}
},
"update": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"id\": {{id}}, \"name\": \"{{name}}\"}]}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the snippet to update.",
"required": true
},
{
"name": "name",
"type": "String",
"description": "Name of the snippet.",
"required": false
}
]
}
},
"delete": {
"method": "POST",
"path": {
"value": "/delete.json",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"id\": {{id}}}]}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the snippet to delete.",
"required": true
}
]
}
}
},
"webhooks": []
},
{
"handle": "tokens",
"meta": {
"short": "Tokens",
"description": "Manage and retrieve tokens in Marketo."
},
"endpoint": {
"value": "/rest/asset/v1/folder/{id}/tokens.json",
"placeholders": []
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"result",
"id"
],
"meta": {
"description": "Unique identifier for the token."
}
},
{
"name": "name",
"type": "String",
"selector": [
"result",
"name"
],
"meta": {
"description": "Name of the token."
}
},
{
"name": "createdAt",
"type": "String",
"selector": [
"result",
"createdAt"
],
"meta": {
"description": "Timestamp when the resource was created."
}
},
{
"name": "updatedAt",
"type": "String",
"selector": [
"result",
"updatedAt"
],
"meta": {
"description": "Timestamp when the resource was last updated."
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the token to retrieve.",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"name\": \"{{name}}\"}]}",
"placeholders": [
{
"name": "name",
"type": "String",
"description": "Name of the token.",
"required": true
}
]
}
},
"update": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"id\": {{id}}, \"name\": \"{{name}}\"}]}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the token to update.",
"required": true
},
{
"name": "name",
"type": "String",
"description": "Name of the token.",
"required": false
}
]
}
},
"delete": {
"method": "POST",
"path": {
"value": "/delete.json",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"id\": {{id}}}]}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the token to delete.",
"required": true
}
]
}
}
},
"webhooks": []
},
{
"handle": "folders",
"meta": {
"short": "Folders",
"description": "Manage and retrieve folders in Marketo."
},
"endpoint": {
"value": "/rest/asset/v1/folders.json",
"placeholders": []
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"result",
"id"
],
"meta": {
"description": "Unique identifier for the folder."
}
},
{
"name": "name",
"type": "String",
"selector": [
"result",
"name"
],
"meta": {
"description": "Name of the folder."
}
},
{
"name": "createdAt",
"type": "String",
"selector": [
"result",
"createdAt"
],
"meta": {
"description": "Timestamp when the resource was created."
}
},
{
"name": "updatedAt",
"type": "String",
"selector": [
"result",
"updatedAt"
],
"meta": {
"description": "Timestamp when the resource was last updated."
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the folder to retrieve.",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"name\": \"{{name}}\"}]}",
"placeholders": [
{
"name": "name",
"type": "String",
"description": "Name of the folder.",
"required": true
}
]
}
},
"update": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"id\": {{id}}, \"name\": \"{{name}}\"}]}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the folder to update.",
"required": true
},
{
"name": "name",
"type": "String",
"description": "Name of the folder.",
"required": false
}
]
}
},
"delete": {
"method": "POST",
"path": {
"value": "/delete.json",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"id\": {{id}}}]}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the folder to delete.",
"required": true
}
]
}
}
},
"webhooks": []
},
{
"handle": "files",
"meta": {
"short": "Files",
"description": "Manage and retrieve files in Marketo."
},
"endpoint": {
"value": "/rest/asset/v1/files.json",
"placeholders": []
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"result",
"id"
],
"meta": {
"description": "Unique identifier for the file."
}
},
{
"name": "name",
"type": "String",
"selector": [
"result",
"name"
],
"meta": {
"description": "Name of the file."
}
},
{
"name": "createdAt",
"type": "String",
"selector": [
"result",
"createdAt"
],
"meta": {
"description": "Timestamp when the resource was created."
}
},
{
"name": "updatedAt",
"type": "String",
"selector": [
"result",
"updatedAt"
],
"meta": {
"description": "Timestamp when the resource was last updated."
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the file to retrieve.",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"name\": \"{{name}}\"}]}",
"placeholders": [
{
"name": "name",
"type": "String",
"description": "Name of the file.",
"required": true
}
]
}
},
"update": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"id\": {{id}}, \"name\": \"{{name}}\"}]}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the file to update.",
"required": true
},
{
"name": "name",
"type": "String",
"description": "Name of the file.",
"required": false
}
]
}
},
"delete": {
"method": "POST",
"path": {
"value": "/delete.json",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"id\": {{id}}}]}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the file to delete.",
"required": true
}
]
}
}
},
"webhooks": []
},
{
"handle": "users",
"meta": {
"short": "Users",
"description": "Manage and retrieve users in Marketo."
},
"endpoint": {
"value": "/rest/v1/users.json",
"placeholders": []
},
"fields": [
{
"name": "id",
"type": "Integer",
"selector": [
"result",
"id"
],
"meta": {
"description": "Unique identifier for the user."
}
},
{
"name": "name",
"type": "String",
"selector": [
"result",
"name"
],
"meta": {
"description": "Name of the user."
}
},
{
"name": "createdAt",
"type": "String",
"selector": [
"result",
"createdAt"
],
"meta": {
"description": "Timestamp when the resource was created."
}
},
{
"name": "updatedAt",
"type": "String",
"selector": [
"result",
"updatedAt"
],
"meta": {
"description": "Timestamp when the resource was last updated."
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{id}}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the user to retrieve.",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"name\": \"{{name}}\"}]}",
"placeholders": [
{
"name": "name",
"type": "String",
"description": "Name of the user.",
"required": true
}
]
}
},
"update": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"id\": {{id}}, \"name\": \"{{name}}\"}]}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the user to update.",
"required": true
},
{
"name": "name",
"type": "String",
"description": "Name of the user.",
"required": false
}
]
}
},
"delete": {
"method": "POST",
"path": {
"value": "/delete.json",
"placeholders": []
},
"headers": {
"Content-Type": {
"value": "application/json",
"placeholders": []
}
},
"queryParams": {},
"bodyTemplate": {
"value": "{\"input\": [{\"id\": {{id}}}]}",
"placeholders": [
{
"name": "id",
"type": "Integer",
"description": "ID of the user to delete.",
"required": true
}
]
}
}
},
"webhooks": []
}
]