Rest API how to get cta resources when ctas is empty


#1

I need to export some blog posts to a different platform, and I'm using /blogv2/get_blog_posts to get post_body
My problem is that in a consistent number of post i've a lot of cta objects in post_body i.e.: {{cta('xxxx')}} even when "cats" is empty in the json response

so the question: How to get reference to cta resources to download images and replace the placehonder in the migrated post?


#2

Hi @zzofe,

There isn't currently a public API for accessing the CTAs tool. Can you give me an example page that isn't including CTAs in the JSON response so that I can take a closer look?