Create an API endpoint for the Knowledge Base to Add, Update, or Delete Articles & Categories

Status: Idea Submitted

One major gap in the current HubSpot API ecosystem is the lack of support for the Knowledge Base. While developers can programmatically manage website pages, landing pages, blogs, and CRM data, there is no equivalent access for Knowledge Base content.

I would like to propose the addition of a dedicated Knowledge Base API that includes full CRUD functionality for both articles and categories.

At a minimum, this should include:

  • Retrieve Knowledge Base articles, including metadata (title, slug, content, author, publish status, tags, category, timestamps)
  • Create new Knowledge Base articles
  • Update and edit existing articles
  • Archive or delete articles
  • Retrieve categories and subcategories
  • Create, update, and manage categories
  • Assign and move articles between categories
  • Support for draft vs published states

Right now, Knowledge Base content is locked into manual workflows or limited UI-based management. This creates friction for teams that rely heavily on automation, integrations, and scalable content operations.

With API access, the Knowledge Base could become a fully integrated part of the broader HubSpot ecosystem instead of a silo.

Here are some high-impact use cases this would unlock:

Automated documentation workflows
Teams could generate or update Knowledge Base articles directly from product changes, support tickets, or internal documentation systems. For example, when a feature is released, documentation could be automatically created or updated without manual duplication.

AI-powered content generation and updates
With API access, teams could connect AI tools to draft, optimize, and maintain Knowledge Base content at scale. This includes summarizing support tickets into articles, improving SEO, or keeping outdated content refreshed automatically.

Support ticket deflection and self-service automation
Integrations could dynamically suggest or generate Knowledge Base articles based on common support issues. Over time, this reduces ticket volume and improves customer experience.

Multi-platform content syncing
Organizations that maintain documentation across multiple platforms (internal docs, external help centers, partner portals) could sync content bi-directionally instead of maintaining separate systems.

Advanced reporting and optimization
Pulling article data into external BI tools or data warehouses would allow teams to analyze performance, identify gaps, and improve content strategy based on real usage data.

Custom front-end experiences
Developers could use Knowledge Base content in custom applications, portals, or embedded help widgets without relying on HubSpot’s default front-end.

In short, this is not just a convenience feature. It is a foundational capability that would unlock automation, scalability, and innovation for teams using HubSpot at a deeper level.

Would love to see this prioritized in the roadmap!

This would be extremely helpful!!! This is something we run into often. The lack of Knowledge Base API access creates real limitations for automation and scalability, especially compared to other HubSpot content types. Having full CRUD support here would unlock a lot of valuable workflows for our team. Definitely would love to see this prioritized!

I opened a ticket with HubSpot Support last week asking specifically whether there’s any officially supported way to programmatically create or publish KB articles. The reply confirmed what’s already in this thread:

  • No public REST API for KB write operations.
  • No GraphQL write API either.
  • Switching from Private App to a Marketplace/OAuth app doesn’t help, since the limit is at the platform level.
  • The cms.knowledge_base.articles.write / .publish scopes appear in the scope picker but explicitly have “no corresponding API implementation.”
  • No public timeline, no beta.

The recommended workarounds were:

  1. CSV bulk import via the UI (limited to 400 articles per run, still requires a manual “click Import” step).
  2. “Host your help content as website pages or blog posts instead of as Knowledge Base articles.”

That second suggestion is the part I find hard to square with how this product is positioned. The official answer to “I can’t automate my Knowledge Base workflow” is effectively “use a different HubSpot product.” Pages and blog don’t replicate KB-specific search, category structure, or the help-center template. That’s exactly why we picked the KB in the first place.

The current situation is pushing customers (us included) toward unsupported browser-automation workarounds with Playwright/Selenium to script the UI. That’s brittle, has a maintenance cost on every UI change, and is technically against HubSpot’s TOS. None of that should be the recommended pattern for a paying Service Hub customer.

A minimal viable API would already solve 90% of real-world use cases:

  • POST /cms/v3/knowledge-base/articles with title, body HTML, category, subcategory, language, slug, state (DRAFT/PUBLISHED).
  • PATCH /cms/v3/knowledge-base/articles/{id} for updates.
  • GET /cms/v3/knowledge-base/categories so we can resolve category IDs at write time.

Read access via GraphQL already exists. The write endpoints exist internally (HubSpot’s own UI calls them). Opening them up for Private App or OAuth auth wouldn’t require building a new API surface — just unlocking access at the auth layer for what’s already there.

Would love to see this move from “not currently planned” to even just “exploring.”

This has become a critical gap for teams building AI-assisted content workflows.

We manage a Knowledge Base of 260+ articles for a SaaS product that ships updates frequently. Every time we release a new feature or change an existing workflow, we have a manual, time-consuming process of identifying which articles are affected, rewriting them, and publishing updates. The lag that follows often leaves customers reading documentation that no longer matches the product.

AI tools exist today that can automate exactly this. Given a product changelog or release note, a well-prompted LLM can draft updates to affected articles, flag stale content, and even suggest new articles to create. But none of that is possible without API access to the Knowledge Base. We can’t read articles to check what’s outdated. We can’t write updates programmatically once they’re drafted. The entire loop is broken.

The CSV export is a workaround, not a solution. It’s manual, one-directional, and not something you can wire into an automated pipeline.

What we’re asking for isn’t exotic. CMS platforms, Zendesk, Intercom, and Freshdesk all expose full CRUD APIs for their help content. HubSpot already does this for blog posts, landing pages, and website pages. The Knowledge Base is the one content type left behind.

As AI-assisted content maintenance becomes table stakes for CX and support teams, the lack of a KB API is a growing competitive disadvantage for HubSpot.

Please prioritize this.

Same here. We need to scrape our own knowledge base to get to the content since no API exists.

We would like to add our support for this request as well.

As an Enterprise customer, a public API for creating, updating, and managing Knowledge Base articles is a critical requirement for our digital transformation roadmap. We are currently building automated content workflows that synchronize information from external systems (such as Notion) into HubSpot. While the existing import tools and search APIs are helpful, they do not support ongoing automated synchronization and content management.

A Knowledge Base CRUD API would enable us to:

  • Automatically create and update articles from external content sources.
  • Keep documentation synchronized across platforms.
  • Use AI-driven workflows to generate, improve, and maintain knowledge content.
  • Reduce manual administration and improve content accuracy.

We strongly believe this functionality would provide significant value for many Enterprise customers and would appreciate being considered for any beta or early access programs.

Thank you for considering this enhancement.

I fully agree with this and prior comments. The lack of an API endpoint means that internal KBs are effectively siloed from AI workflows.

We would like to add our support for this request as well.

Hello HubSpot,

How hard would it be to ask AI to implement the api that we all need?