curl --request GET \
--url https://api.hubapi.com/content/api/v2/blogs \
--header 'Authorization: Bearer <token>'{
"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
}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
curl --request GET \
--url https://api.hubapi.com/content/api/v2/blogs \
--header 'Authorization: Bearer <token>'{
"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
}The access token received from the authorization server in the OAuth 2.0 flow.
The internal name of the blog
When the blog was first created, in milliseconds since the epoch. Supports range, gt, gte, lt, lte filters
When the blog was deleted, in milliseconds since the epoch. Zero if the blog was never deleted. Supports exact, gt, gte filters
The id of a topic you wish to filter blog posts by. Topic IDs can be found using the topics endpoint
The number of items to return. Defaults to 20
The offset set to start returning rows from. Defaults to 0.
successful operation
Show child attributes
The unique id of the blog
The hub id
The internal name of the blog
The display label of the blog
The header of the blog
The title in the
The blog description
The path of the URL on which the blog will live. Changing this will change the URL.
The full URL with domain and scheme to the blog
The absolute URL to the blog
The base URL for the blog
The domain for the blog
The resolved domain for the blog
The live domain for the blog
The domain when the blog was published
When the blog was first created, in milliseconds since the epoch
When the blog was first created, in milliseconds since the epoch
When the blog was last updated, in milliseconds since the epoch
When the blog was last updated, in milliseconds since the epoch
When the blog was deleted, in milliseconds since the epoch. Zero if the blog was never deleted. Use a DELETE request to delete the blog, do not set this directly.
Are comments enabled for the blog
Whether comment moderation is enabled
Whether commenting should create a contact
Text shown for comment verification
Date format for comments
GUID for the comment form
Maximum thread depth for comments
Email addresses to notify of new comments
Close comments on posts older than this many days
Always require captcha for comments
Require captcha after this many days
Number of posts per listing page
Number of posts in RSS feed
Show post summary in listing
Show post summary in emails
Show post summary in RSS
Use featured image in summary
Show Twitter social link
Show Facebook social link
Show LinkedIn social link
Twitter account for social sharing
Enable automatic social publishing
HTML content for the head section
Whether HTML head is shared
HTML content for post head section
HTML content for the footer
Whether HTML footer is shared
HTML content for post footer
HTML keywords for SEO
Attached stylesheet URLs
Layout ID for individual blog posts
Template path for individual blog posts
Whether item template is shared
Layout ID for blog listing
Template path for blog listing
Whether blog uses default template
Default group style ID
Category ID
COS object type
Analytics page ID
GUID for subscription form
Property for subscription contacts
Email API subscription ID
Instant notification email ID
Daily notification email ID
Weekly notification email ID
Monthly notification email ID
Default from name for notifications
Default reply-to for notifications
Date format for publishing
Format for month filter
Public access rules
Whether public access rules are enabled
Enable Google AMP output
AMP header color
AMP header background color
AMP header font
AMP header font size
AMP body color
AMP body font
AMP body font size
AMP link color
AMP logo source URL
AMP logo alt text
AMP logo width
AMP logo height
AMP custom CSS
Was this page helpful?