List blogs
curl --request GET \
--url https://api.hubapi.com/content/api/v2/blogs \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.hubapi.com/content/api/v2/blogs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.hubapi.com/content/api/v2/blogs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hubapi.com/content/api/v2/blogs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.hubapi.com/content/api/v2/blogs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.hubapi.com/content/api/v2/blogs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hubapi.com/content/api/v2/blogs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"limit": 2,
"objects": [
{
"absolute_url": "http://demo-hubapi.hs-sites.com/tb-es",
"allow_comments": true,
"amp_body_color": "#404040",
"amp_body_font": "'Helvetica Neue', Helvetica, Arial, sans-serif",
"amp_body_font_size": "18",
"amp_custom_css": "",
"amp_header_background_color": "#ffffff",
"amp_header_color": "#1e1e1e",
"amp_header_font": "'Helvetica Neue', Helvetica, Arial, sans-serif",
"amp_header_font_size": "36",
"amp_link_color": "#416bb3",
"amp_logo_alt": "",
"amp_logo_height": 0,
"amp_logo_src": "",
"amp_logo_width": 0,
"analytics_page_id": 6513512292,
"attached_stylesheets": [],
"captcha_after_days": 7,
"captcha_always": false,
"category_id": 3,
"close_comments_older": 0,
"comment_date_format": "medium",
"comment_form_guid": "d106e4ff-1bfa-4cee-bd7e-df2c3e64ae98",
"comment_max_thread_depth": 1,
"comment_moderation": false,
"comment_notification_emails": [],
"comment_should_create_contact": false,
"comment_verification_text": "",
"cos_object_type": "BLOG",
"created": 1542117464711,
"created_date_time": 1542117464711,
"daily_notification_email_id": "6513456345",
"default_group_style_id": "",
"default_notification_from_name": "",
"default_notification_reply_to": "",
"deleted_at": 0,
"description": "",
"domain": "",
"domain_when_published": "demo-hubapi.hs-sites.com",
"email_api_subscription_id": 5479310,
"enable_google_amp_output": true,
"enable_social_auto_publishing": false,
"html_footer": "",
"html_footer_is_shared": true,
"html_head": "",
"html_head_is_shared": true,
"html_keywords": [],
"html_title": "",
"id": 6513512292,
"instant_notification_email_id": "6513512376",
"item_layout_id": 6208194615,
"item_template_is_shared": true,
"item_template_path": "generated_layouts/6208194615.html",
"label": "Blog - ES",
"listing_layout_id": 6208194615,
"listing_template_path": "generated_layouts/6208194615.html",
"live_domain": "demo-hubapi.hs-sites.com",
"month_filter_format": "MMMM yyyy",
"monthly_notification_email_id": "6513512410",
"name": "Blog - ES",
"portal_id": 62515,
"post_html_footer": "",
"post_html_head": "",
"posts_per_listing_page": 10,
"posts_per_rss_feed": 10,
"public_access_rules": [],
"public_access_rules_enabled": false,
"public_title": "Blog - ES",
"publish_date_format": "medium",
"resolved_domain": "demo-hubapi.hs-sites.com",
"root_url": "http://demo-hubapi.hs-sites.com/tb-es",
"show_social_link_facebook": true,
"show_social_link_linkedin": true,
"show_social_link_twitter": true,
"show_summary_in_emails": true,
"show_summary_in_listing": true,
"show_summary_in_rss": true,
"slug": "tb-es",
"social_account_twitter": "",
"subscription_contacts_property": "blog_blog_es_6513512292_subscription",
"subscription_form_guid": "ef80b56c-739f-4c3e-b008-e71f587cd5b6",
"subscription_lists_by_type": {
"daily": 483082,
"instant": 483081,
"monthly": 483084,
"weekly": 483083
},
"updated": 1545412176504,
"updated_date_time": 1545412176504,
"url_base": "demo-hubapi.hs-sites.com/tb-es",
"url_segments": {
"all": "all",
"archive": "archive",
"author": "author",
"page": "page",
"tag": "tag"
},
"use_featured_image_in_summary": true,
"uses_default_template": false
}
],
"offset": 0,
"total": 1,
"total_count": 1
}{
"message": "<string>",
"correlationId": "<string>",
"category": "<string>",
"links": {}
}v2
List blogs
List all of the blogs for an account. Supports paging and filtering. If a parameter supports a filter type of ‘gt’, that means you can append a double underscore to the parameter name to find all items greater than the specified value. For example, the following query will find all blogs created after 5/1/2015: https://api.hubapi.com/content/api/v2/blogs?created__gt=1430452800000
GET
/
content
/
api
/
v2
/
blogs
List blogs
curl --request GET \
--url https://api.hubapi.com/content/api/v2/blogs \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.hubapi.com/content/api/v2/blogs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.hubapi.com/content/api/v2/blogs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hubapi.com/content/api/v2/blogs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.hubapi.com/content/api/v2/blogs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.hubapi.com/content/api/v2/blogs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hubapi.com/content/api/v2/blogs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"limit": 2,
"objects": [
{
"absolute_url": "http://demo-hubapi.hs-sites.com/tb-es",
"allow_comments": true,
"amp_body_color": "#404040",
"amp_body_font": "'Helvetica Neue', Helvetica, Arial, sans-serif",
"amp_body_font_size": "18",
"amp_custom_css": "",
"amp_header_background_color": "#ffffff",
"amp_header_color": "#1e1e1e",
"amp_header_font": "'Helvetica Neue', Helvetica, Arial, sans-serif",
"amp_header_font_size": "36",
"amp_link_color": "#416bb3",
"amp_logo_alt": "",
"amp_logo_height": 0,
"amp_logo_src": "",
"amp_logo_width": 0,
"analytics_page_id": 6513512292,
"attached_stylesheets": [],
"captcha_after_days": 7,
"captcha_always": false,
"category_id": 3,
"close_comments_older": 0,
"comment_date_format": "medium",
"comment_form_guid": "d106e4ff-1bfa-4cee-bd7e-df2c3e64ae98",
"comment_max_thread_depth": 1,
"comment_moderation": false,
"comment_notification_emails": [],
"comment_should_create_contact": false,
"comment_verification_text": "",
"cos_object_type": "BLOG",
"created": 1542117464711,
"created_date_time": 1542117464711,
"daily_notification_email_id": "6513456345",
"default_group_style_id": "",
"default_notification_from_name": "",
"default_notification_reply_to": "",
"deleted_at": 0,
"description": "",
"domain": "",
"domain_when_published": "demo-hubapi.hs-sites.com",
"email_api_subscription_id": 5479310,
"enable_google_amp_output": true,
"enable_social_auto_publishing": false,
"html_footer": "",
"html_footer_is_shared": true,
"html_head": "",
"html_head_is_shared": true,
"html_keywords": [],
"html_title": "",
"id": 6513512292,
"instant_notification_email_id": "6513512376",
"item_layout_id": 6208194615,
"item_template_is_shared": true,
"item_template_path": "generated_layouts/6208194615.html",
"label": "Blog - ES",
"listing_layout_id": 6208194615,
"listing_template_path": "generated_layouts/6208194615.html",
"live_domain": "demo-hubapi.hs-sites.com",
"month_filter_format": "MMMM yyyy",
"monthly_notification_email_id": "6513512410",
"name": "Blog - ES",
"portal_id": 62515,
"post_html_footer": "",
"post_html_head": "",
"posts_per_listing_page": 10,
"posts_per_rss_feed": 10,
"public_access_rules": [],
"public_access_rules_enabled": false,
"public_title": "Blog - ES",
"publish_date_format": "medium",
"resolved_domain": "demo-hubapi.hs-sites.com",
"root_url": "http://demo-hubapi.hs-sites.com/tb-es",
"show_social_link_facebook": true,
"show_social_link_linkedin": true,
"show_social_link_twitter": true,
"show_summary_in_emails": true,
"show_summary_in_listing": true,
"show_summary_in_rss": true,
"slug": "tb-es",
"social_account_twitter": "",
"subscription_contacts_property": "blog_blog_es_6513512292_subscription",
"subscription_form_guid": "ef80b56c-739f-4c3e-b008-e71f587cd5b6",
"subscription_lists_by_type": {
"daily": 483082,
"instant": 483081,
"monthly": 483084,
"weekly": 483083
},
"updated": 1545412176504,
"updated_date_time": 1545412176504,
"url_base": "demo-hubapi.hs-sites.com/tb-es",
"url_segments": {
"all": "all",
"archive": "archive",
"author": "author",
"page": "page",
"tag": "tag"
},
"use_featured_image_in_summary": true,
"uses_default_template": false
}
],
"offset": 0,
"total": 1,
"total_count": 1
}{
"message": "<string>",
"correlationId": "<string>",
"category": "<string>",
"links": {}
}Authorizations
oauth2_legacyprivate_apps_legacy
Query Parameters
Last modified on March 30, 2026
Was this page helpful?