Hi,
I'm intergrating with the API so we can update our templates really fast.
However I was wondering how do you approve a landing page template via the api?
Marketo REST APIs: Asset Objects » Marketo Developers
There is approve email template and approve snippet.
Thanks.
Solved! Go to Solution.
Hi Sean
I think current API docs lack of LP approving.
When I tried below, I could approve.
URL: <REST API Endpoint URL>/rest/asset/v1/landingPageTemplate/{id}/approveDraft.json
Good luck!
That action creates or updates a draft not the live template. I'm looking for the action to approve the template once it's been updated via this action.
Hi Sean
I think current API docs lack of LP approving.
When I tried below, I could approve.
URL: <REST API Endpoint URL>/rest/asset/v1/landingPageTemplate/{id}/approveDraft.json
Good luck!
That's brilliant thank you.
Just for the record this is a POST not a GET.
It works with POST. Get returns an error from marketo.