# Knowledge Base Article Description Issue in the API

**URL:** <https://community.hubspot.com/t/knowledge-base-article-description-issue-in-the-api/72937>\
**Category:** APIs & Integrations\
**Created:** [January 16, 2023, 9:28am UTC](https://community.hubspot.com/t/knowledge-base-article-description-issue-in-the-api/72937 "2023-01-16T09:28:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SAlam32](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@SAlam32](https://community.hubspot.com/u/SAlam32)\
**Post date:** [January 16, 2023, 9:28am UTC](https://community.hubspot.com/t/knowledge-base-article-description-issue-in-the-api/72937/1 "2023-01-16T09:28:28Z")

</div>

We are trying to pull knowledge base article information by the API but it seems like returning plain text description rather than html description with the link. What can be the solution or way to get html description rather than plan text with anchor link.

Below is the knowledge base article:

 ![HubSpotArticle.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/6/5/65523bfb4375540feb95d8a15d368c6e9859df33.jpeg)

But from the API resposne we are getting only plain text like below:

 ![ArticleAPIResponse.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/d/b/db8262d9cf634d9836383c90147a6e5f4513445b.jpeg)

We have try with both api but same result:

1. [https://api.hubapi.com/cms/v3/site-search/indexed-data/{documentId}?type=KNOWLEDGE\_ARTICLE](https://api.hubapi.com/cms/v3/site-search/indexed-data/:documentId?type=KNOWLEDGE_ARTICLE)

2. [https://api.hubapi.com/contentsearch/v2/search/[{documentId}](https://api.hubapi.com/cms/v3/site-search/indexed-data/:documentId?type=KNOWLEDGE\_ARTICLE)?portalId={portalId}&type=KNOWLEDGE\_ARTICLE](https://api.hubapi.com/contentsearch/v2/search/%5B%7BdocumentId%7D%5D(https://api.hubapi.com/cms/v3/site-search/indexed-data/:documentId?type=KNOWLEDGE_ARTICLE)?portalId=%7BportalId%7D&type=KNOWLEDGE%5C_ARTICLE)

Can you please help how to get html description as per rich text editor data from the API?

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [January 18, 2023, 7:13pm UTC](https://community.hubspot.com/t/knowledge-base-article-description-issue-in-the-api/72937/2 "2023-01-18T19:13:25Z")

</div>

Hi, @SAlam32 👋 I tried both of your examples and got the same result. My instinct says if it’s not specifically listed in the documentation, it’s likely not an option. And I’ll do my best to get us some clarity either way. I’ll reply here if I get an update.

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![SAlam32](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@SAlam32](https://community.hubspot.com/u/SAlam32)\
**Post date:** [January 23, 2023, 10:33am UTC](https://community.hubspot.com/t/knowledge-base-article-description-issue-in-the-api/72937/3 "2023-01-23T10:33:27Z")

</div>

Thanks [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074) for your reply. It would be great if we get a solution regarding this issue.
