By Id
The Get Program by Id endpoint requires an id
path parameter.
The Program Id can be obtained from the URL of the program in the UI, where the URL will resemble https://app-\*\*\*.marketo.com/#PG1001A1
. In this URL, the id
is 1001. It will always be between the first set of letters in the URL and the second set of letters.
By Name
The Get Program by Name endpoint requires a name
query parameter. Optional boolean query parameters are includeTags
and includeCosts
which are used to return program tags and program costs respectively.
Browse
The Get Programs endpoint allows you to browse for programs.
The optional status
parameter allows you to filter on program status. This parameter only applies to Engagement and Email programs. The possible values are “on” and “off” for Engagement programs, and “unlocked” for Email programs.
The optional maxReturn
parameter controls the number of programs to return (maximum is 200, default is 20). The optional offset
parameter used for paging results (default is 0).
Note that tags associated with a program are not returned by this endpoint. Program tags can be retrieved by using either Get Programs by Id or Get Programs by Name.
By Date Range
The earliestUpdatedAt
and latestUpdatedAt
parameters to our Get Programs endpoint allow you to set low and high datetime watermarks for returning programs which were either updated or initially created within the given range.
By Tag Type
The Get Programs by Tag endpoint retrieves a list of list of programs matching the tag type and tag values provided.
There are two required parameters, tagType
which is the type of tag to filter on, and tagValue
which is the tag value to filter on. There is an optional integer maxReturn
parameter that controls the number of programs to return (maximum is 200, default is 20), and an optional integer offset
parameter used for paging results (default is 0). Results are returned in random order.
Create and Update
Creating and updating programs follows the standard asset pattern and has folder
, name
, type
and channel
as required parameters, with description
, costs
and tags
being optional. Channel and type may only be set at program creation. Only description, name, tags
and costs
may be updated after creation, with an additional costsDestructiveUpdate
parameter allowed. Passing costsDestructiveUpdate
as true will cause all existing costs to be cleared and replaced with any costs included in the call. Note that tags may be required for some program types in some subscriptions, but this is configuration-dependent and should first be checked with Get Tags to see if there are instance-specific requirements.
When creating or updating an Email Program, a startDate
and endDate
may also be passed as a UTC date/time:
"startDate": "2022-10-19T15:00:00.000Z"
"endDate": "2022-10-19T15:00:00.000Z"
Create
Update
When updating program costs, to append new costs, simply add them to your costs
array. To perform a destructive update, pass your new costs, along with the parameter costsDestructiveUpdate
set to true
. To clear all costs from a program, do not pass a costs
parameter, and just pass costsDestructiveUpdate
set to true
.
Approval
Email Programs may be approved or unapproved remotely, which will cause the program to run at the given startDate and conclude at the given endDate. Both of these must be set to approve the program, as well as having a valid and approved email and smart list configured via the UI.
Approve
Unapprove
Clone
Cloning programs follows the standard asset pattern the new name and folder as required parameters and an optional description. The name
parameter must be globally unique and cannot exceed 255 characters. The folder
parameter is the parent folder. The folder
parameter type attribute must be set to “Folder”, and the target folder must be in same workspace as program that is being cloned.
Programs containing certain types of assets may not be cloned via this API, including Push Notifications, In-App Messages, Reports, and Social Assets. In-App programs may not be cloned via this API.
Delete Program
Deleting programs follows the standard asset deletion pattern.
Marketo Migration to the Adobe Admin Console - (Pre-Migration)
Experience Cloud Tech Sessions
Tuesday, Mar 4, 6:00 PM UTC
Join Adobe's Customer Experience and Identity Team to prepare for a smooth Marketo migration to the Adobe Admin Console. Learn key steps, best practices, and how to avoid roadblocks for a seamless transition.
RegisterMarketo Migration to the Adobe Admin Console - (Post-Migration)
Experience Cloud Tech Sessions
Tuesday, Mar 11, 4:00 PM UTC
Migrated Marketo to the Adobe Admin Console? Join our webinar to master key features, best practices, and troubleshooting tips. Learn how to manage users,, settings, and more. register now!
RegisterConnect with Experience League at Summit!
Get front-row access to top sessions, hands-on activities, and networking—wherever you are!
Learn more