Hello guys I am new to hubspot apis and this forum.
I wonder is there any way to get a ready landing page full html code with apis?
Something like “Get a page by Id” in the Pages api. This one returns a json with html inside it, however doesn’t return html of hubspot wrappers and some modules. So is there any way to get a json with full html inside it?
The Pages API will only contain the JSON data stored for the page; there isn’t an option to get the fully rendered HTML that a visitor would see. However, you could grab the url from the page and then make a separate request to GET the page itself.
That was just a typo, and should have been page, sorry about that. The url is one of the JSON properties you’d get if you were pulling the data for your pages.