Updating the email of a program

Mark_Lively
Level 1

Updating the email of a program

Is it possible to change the active email attached to a program through the JSON interface?

I am looking to do the Clone the Program, Modify the Email thing, except to create the email from a template instead

of taking the current email assigned to a program.

Tags (2)
1 REPLY 1
Jep_Castelein2
Level 10

Re: Updating the email of a program

You can create a new Email using the REST API, full documentation here: https://developers.marketo.com/rest-api/assets/emails/

The most common process though is to put Program Tokens inside the email and populate the Program Tokens with new content via the API. 

Program Tokens docs: https://docs.marketo.com/display/public/DOCS/Understanding+My+Tokens+in+a+Program

Program Tokens API: https://developers.marketo.com/rest-api/assets/tokens/