HubSpot · JSON Structure

Hubspot Blog Posts Blog Post Input Structure

Input data for creating or updating a blog post

Type: object Properties: 15 Required: 2
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

BlogPostInput is a JSON Structure definition published by HubSpot, describing 15 properties, of which 2 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

name slug htmlTitle postBody postSummary blogAuthorId contentGroupId campaign publishDate featuredImage featuredImageAltText metaDescription tagIds useFeaturedImage language

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "description": "Input data for creating or updating a blog post",
  "name": "BlogPostInput",
  "properties": {
    "name": {
      "type": "string",
      "description": "Internal name of the blog post"
    },
    "slug": {
      "type": "string",
      "description": "URL slug for the blog post"
    },
    "htmlTitle": {
      "type": "string",
      "description": "HTML title tag content"
    },
    "postBody": {
      "type": "string",
      "description": "HTML content of the blog post body"
    },
    "postSummary": {
      "type": "string",
      "description": "Summary or excerpt of the blog post"
    },
    "blogAuthorId": {
      "type": "string",
      "description": "ID of the associated blog author"
    },
    "contentGroupId": {
      "type": "string",
      "description": "ID of the blog this post belongs to"
    },
    "campaign": {
      "type": "string",
      "description": "Campaign GUID"
    },
    "publishDate": {
      "type": "datetime",
      "description": "Scheduled publish date"
    },
    "featuredImage": {
      "type": "string",
      "description": "URL of the featured image"
    },
    "featuredImageAltText": {
      "type": "string",
      "description": "Alt text for the featured image"
    },
    "metaDescription": {
      "type": "string",
      "description": "Meta description for SEO"
    },
    "tagIds": {
      "type": "array",
      "description": "Tag IDs to associate",
      "items": {
        "type": "integer"
      }
    },
    "useFeaturedImage": {
      "type": "boolean",
      "description": "Whether to display the featured image"
    },
    "language": {
      "type": "string",
      "description": "Language code"
    }
  },
  "required": [
    "name",
    "contentGroupId"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}