<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Knowledge Base articles API for search and get content in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Knowledge-Base-articles-API-for-search-and-get-content/m-p/714274#M58448</link>
    <description>&lt;P&gt;Once you have the knowledge base search results, how do you get the content?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Nov 2022 03:43:06 GMT</pubDate>
    <dc:creator>speedplane</dc:creator>
    <dc:date>2022-11-04T03:43:06Z</dc:date>
    <item>
      <title>Knowledge Base articles API for search and get content</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Knowledge-Base-articles-API-for-search-and-get-content/m-p/229164#M8060</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;we're currently in a migration process and before Hubspot we were using a service that offered an API to query search strings to find relevant articles and receive the content of those articles to present it directly in our app.&lt;/P&gt;
&lt;P&gt;By guessing, I could find a query that I can use for Hubspot Knowledge Base to at least search for relevant articles, but it is not yet documented:&lt;BR /&gt;
&lt;A href="https://api.hubapi.com/contentsearch/v2/search?portalId=" rel="nofollow noopener"&gt;https://api.hubapi.com/contentsearch/v2/search?portalId=&lt;/A&gt;&amp;lt;id&amp;gt;&amp;amp;type=KNOWLEDGE_ARTICLE&lt;/P&gt;
&lt;P&gt;But the response only returns a list of links to the absolute URL on Hubspot and not the full content of each article. Is there an additional parameter to get the full content?&lt;/P&gt;
&lt;P&gt;And also my hope was to get the content of any specific article by using this API query, but it didn't work so far:&lt;BR /&gt;
&lt;A href="https://api.hubapi.com/content/api/v2/knowledge-articles/" rel="nofollow noopener"&gt;https://api.hubapi.com/content/api/v2/knowledge-articles/&lt;/A&gt;&amp;lt;articleId&amp;gt;?hapikey=&lt;/P&gt;
&lt;P&gt;Those are my questions and any feedback is appreciated.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;
Stefan&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 14:36:46 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Knowledge-Base-articles-API-for-search-and-get-content/m-p/229164#M8060</guid>
      <dc:creator />
      <dc:date>2018-08-06T14:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Knowledge Base articles API for search and get content</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Knowledge-Base-articles-API-for-search-and-get-content/m-p/229165#M8061</link>
      <description>&lt;P&gt;Hi &lt;A class="mention" href="https://community.hubspot.com/u/stefan-myprofitsee"&gt;@stefan-myprofitsee&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;The Site Search endpoint doesn't yet document the ability to search Knowledge Base articles, but technically it's currently capable of providing Knowledge Base search results. I'm not able to replicate your issue of only receiving absolute URLs though; can you give me an example of the raw response body?&lt;/P&gt;
&lt;P&gt;Regarding you other question; there is not article-specific endpoint. The Content Search API is the only way to pull Knowledge Base article search results.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Aug 2018 22:06:43 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Knowledge-Base-articles-API-for-search-and-get-content/m-p/229165#M8061</guid>
      <dc:creator>Derek_Gervais</dc:creator>
      <dc:date>2018-08-13T22:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Knowledge Base articles API for search and get content</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Knowledge-Base-articles-API-for-search-and-get-content/m-p/394412#M38974</link>
      <description>&lt;P&gt;Hi This is feasible.&lt;/P&gt;&lt;P&gt;I have tried with the below url and which is providing me the result.&lt;/P&gt;&lt;P&gt;But make sure your knowledge articles has been published first else this is not gonna work&lt;/P&gt;&lt;P&gt;Basic URL=&amp;gt; &lt;A href="https://api.hubapi.com/contentsearch/v2/search?portalId=YOUR_PORTAL_ID&amp;amp;term=SEARCH_KEY_WORD&amp;amp;type=KNOWLEDGE_ARTICLE" target="_blank"&gt;https://api.hubapi.com/contentsearch/v2/search?portalId=YOUR_PORTAL_ID&amp;amp;term=SEARCH_KEY_WORD&amp;amp;type=KNOWLEDGE_ARTICLE&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Eg:&amp;nbsp;&lt;A href="https://api.hubapi.com/contentsearch/v2/search?portalId=1234567&amp;amp;term=How" target="_blank"&gt;https://api.hubapi.com/contentsearch/v2/search?portalId=1234567&amp;amp;term=How&lt;/A&gt;&amp;amp;type=KNOWLEDGE_ARTICLE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Mohesh Borah&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 13:26:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Knowledge-Base-articles-API-for-search-and-get-content/m-p/394412#M38974</guid>
      <dc:creator>Mohesh_Borah</dc:creator>
      <dc:date>2020-12-17T13:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Knowledge Base articles API for search and get content</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Knowledge-Base-articles-API-for-search-and-get-content/m-p/498556#M47050</link>
      <description>&lt;P&gt;This search API is a good start.&amp;nbsp; Is there a way to cause it to search on specific metadata, like SEO tags?&amp;nbsp; I could use this to work around the fact that I can't have an article in multiple categories.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 00:53:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Knowledge-Base-articles-API-for-search-and-get-content/m-p/498556#M47050</guid>
      <dc:creator>MikeJennings</dc:creator>
      <dc:date>2021-09-22T00:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Knowledge Base articles API for search and get content</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Knowledge-Base-articles-API-for-search-and-get-content/m-p/698488#M57255</link>
      <description>&lt;P&gt;Please take a look at this solution &lt;A href="https://community.hubspot.com/t5/Knowledge-Base-Tool/Knowledge-Base-API-Documentation/m-p/698475/highlight/true#M872" target="_blank"&gt;https://community.hubspot.com/t5/Knowledge-Base-Tool/Knowledge-Base-API-Documentation/m-p/698475/highlight/true#M872&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 21:31:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Knowledge-Base-articles-API-for-search-and-get-content/m-p/698488#M57255</guid>
      <dc:creator>YBederov</dc:creator>
      <dc:date>2022-09-26T21:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Knowledge Base articles API for search and get content</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Knowledge-Base-articles-API-for-search-and-get-content/m-p/714274#M58448</link>
      <description>&lt;P&gt;Once you have the knowledge base search results, how do you get the content?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2022 03:43:06 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Knowledge-Base-articles-API-for-search-and-get-content/m-p/714274#M58448</guid>
      <dc:creator>speedplane</dc:creator>
      <dc:date>2022-11-04T03:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Knowledge Base articles API for search and get content</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Knowledge-Base-articles-API-for-search-and-get-content/m-p/1020643#M75528</link>
      <description>&lt;P&gt;The only way I managed to fetch some content was through&amp;nbsp;&lt;STRONG&gt;GET&lt;/STRONG&gt;&lt;SPAN class=""&gt;/cms/v3/site-search/indexed-data/{contentId}?type=KNOWLEDGE_ARTICLE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But unfortunately the content will not include any href links, or any tables in html format etc.. just the indexed properties.&lt;BR /&gt;&lt;BR /&gt;Not sure if someone else managed to get the content in HTML or raw format&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 09:26:28 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Knowledge-Base-articles-API-for-search-and-get-content/m-p/1020643#M75528</guid>
      <dc:creator>OTanti</dc:creator>
      <dc:date>2024-08-02T09:26:28Z</dc:date>
    </item>
  </channel>
</rss>

