Blog API Methods

Get Information about a Specific Blog

GET  /blog/v1/:blog_guid.:ext

For a given blog, as identified by its GUID, list metadata.

Required Parameters How to use Description
Blog GUID Used in the request URL Unique identifier for a particular blog
HubSpot OAuth Access Token access_token=X - Used in the request URL The HubSpot API key for the portal that you're making the call for.
Optional Parameters How to use Description
None None No optional parameters for this method.

Example URL requesting JSON:  https://api.hubapi.com/blog/v1/0d61e4ca-e395-4c1c-8766-afaa48bf68db.json?access_token=demooooo-oooo-oooo-oooo-oooooooooooo

Example JSON output:

        {
            "blogTitle": "Test Blog (content from customers.hubspot.com)",
            "feedUrl": "demo.hubapi.com/CMS/UI/Modules/BizBlogger/rss.aspx?moduleId=584130&tabId=300291",
            "guid": "0d61e4ca-e395-4c1c-8766-afaa48bf68db",
            "jsonUrl": "https://api.hubapi.com/blog/v1/0d61e4ca-e395-4c1c-8766-afaa48bf68db.json",
            "moderated": false,
            "moderators": [],
            "portalId": 62515,
            "webUrl": "demo.hubapi.com/blog-for-testing"
        }
    

Example URL requesting AtomPub:  https://api.hubapi.com/blog/v1/0d61e4ca-e395-4c1c-8766-afaa48bf68db.atom?access_token=demooooo-oooo-oooo-oooo-oooooooooooo

Example AtomPub Output:

        <?xml version="1.0" encoding="UTF-8"?>
        <service xmlns="http://www.w3.org/2007/app" xmlns:atom="http://www.w3.org/2005/Atom">
            <workspace><atom:title type="text">PortalId 62515 Blogs</atom:title>
                <collection href="https://api.hubapi.com/blog/v1/0d61e4ca-e395-4c1c-8766-afaa48bf68db.atom">
                    <atom:title type="text">Test Blog (content from customers.hubspot.com)</atom:title>
                </collection>
            </workspace>
        </service>