API: Cannot access content for Acrite Email asset - how to create and update email?
Hi,
My colleague created a new email template using the new Email Designer tool in Adobe Marketo Engage. I am trying to:
-
Create an email using this template via REST API
-
Update the content of that email programmatically
However, I am encountering issues.
Problem 1 – Cannot create email
When I attempt to create an email using:
POST /rest/asset/v1/emails.json
I receive the error:
Cannot find an approved version of the email template
The template is shown as Published in the UI, so I’m not sure why the API cannot find an approved version.
Problem 2 – Cannot update content
If I manually create the email in the UI using this new template and then try to update its content via API using:
POST /rest/asset/v1/email/{emailId}/content.json
I receive the following error:
Cannot access content for Acrite Email asset
Questions
-
Are there different REST endpoints for emails/templates created with the new Email Designer?
-
Is content update via
/content.jsonsupported for this type of asset? -
Is the new Email Designer using a different asset model that is not fully supported by the current REST API?
-
Is REST API content manipulation only supported for classic email templates?
The documentation appears to reference the older email template system, which I was previously using without any issues.
I would appreciate clarification on the current API support and limitations for the new Email Designer templates.
Thank you.