APIs & Integrations

seagyn
Member

Blog Post API - get custom module data

I am currently using the blog posts API to integrate into different platforms and send people from those platforms to the Hubspot blog post.

I’m needing to add custom fields via a custom module onto each blog post and then need to access those via the API. Is this something that is available or does it not exist? (basically getting custom fields for a blog post)

0 Upvotes
1 Reply 1
Dadams
HubSpot Employee
HubSpot Employee

Blog Post API - get custom module data

Hi @seagyn

You can include extra modules inside the blog templates, which would let you include extra data, and if you’re pulling the posts through the API you’d see the data for those modules in the widgets data for the post. You can see an example of using custom modules inside of the blog listing and post templates here:

How To Build Dynamic Pages with HubDB

Step by step tutorial on how to build a data-driven dynamic page on HubSpot's Website platform, using HubDB