# Blog Comments API

**URL:** <https://community.hubspot.com/t/blog-comments-api/63494>\
**Category:** APIs & Integrations\
**Tags:** cms-content\
**Created:** [August 22, 2022, 8:50pm UTC](https://community.hubspot.com/t/blog-comments-api/63494 "2022-08-22T20:50:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MFunston](https://avatars.discourse-cdn.com/v4/letter/m/9e8a1a/32.png) [@MFunston](https://community.hubspot.com/u/MFunston)\
**Post date:** [August 22, 2022, 8:50pm UTC](https://community.hubspot.com/t/blog-comments-api/63494/1 "2022-08-22T20:50:24Z")

</div>

Hello! I’m currently working with the blog comments api  
[https://legacydocs.hubspot.com/docs/methods/comments/post\_comments](https://legacydocs.hubspot.com/docs/methods/comments/post_comments)

Creating comments themselves is not an issue. However, I want to be able to create nested comment responses from the api (same as if you were using hubspot’s website for viewing the blog posts). However, I can’t seem to figure out how to create nested comments through the api, or if it’s even possible.

I’ve tried passing the parentId (comment id of the comment being responded to). I then tried passing the entire parent comment as the parent object in the request body but that doesn’t seem to work either. When you pass the parent object, its returned in the response of the comment that was created, however, when you refetch the comments, the parent to the new comment is actually null. I’ve also tried passing both the parentId and the parent object but that didn’t work either.

Is it possible to create nested comments/comments to comments for blog posts via the api? Or could someone point me in the right direction/where to go from here?

Any help is greatly appreciated!

---

<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:** [August 23, 2022, 10:34pm UTC](https://community.hubspot.com/t/blog-comments-api/63494/2 "2022-08-23T22:34:40Z")

</div>

Hi, @MFunston 👋 Hey, @Anton [@Pixl\_Labs](https://community.hubspot.com/t5/user/viewprofilepage/user-id/156228) do you have any examples or thoughts on how @MFunston can approach this issue?

Thank you! — Jaycee

---

<div class="post-metadata">

**Author:** ![Anton](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/anton/32/103167_2.png) [@Anton](https://community.hubspot.com/u/Anton)\
**Post date:** [August 24, 2022, 7:15am UTC](https://community.hubspot.com/t/blog-comments-api/63494/3 "2022-08-24T07:15:59Z")

</div>

Hi @MFunston,

haven’t done that but you could create a nested comment in a post and get them with [List comments](https://legacydocs.hubspot.com/docs/methods/comments/get_comments). By doing so you should get the correct structure which you can apply to your post call.

hope this helps

best,

Anton

---

<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:** [August 25, 2022, 2:48pm UTC](https://community.hubspot.com/t/blog-comments-api/63494/4 "2022-08-25T14:48:11Z")

</div>

Thanks, @Anton 🙌
