Get Recent Blog Posts using v3 of HubSpot API

That was it! Thank you so much!

For everyone’s reference, the way I’m making this work on my end is to query the Private App with the following URL to get the most recent posts:

https://api.hubapi.com/cms/v3/blogs/posts?createdAt__lte=<--tomorrows date-->&sort=-created&limit=5&state=PUBLISHED

This is the same URL that @skimura posted above, except I have the script writing and executing this CURL request use tomorrow’s date so that it’s always looking for the most recent posts and takes into account any posts that were posted today.

Cheers,

Jon