# How to get post owner in webhook Comment.didCreate

**URL:** <https://forum.social.plus/t/how-to-get-post-owner-in-webhook-comment-didcreate/1107>\
**Category:** General\
**Created:** [February 7, 2024, 11:42am UTC](https://forum.social.plus/t/how-to-get-post-owner-in-webhook-comment-didcreate/1107 "2024-02-07T11:42:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![muhammad.nasir.ext](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@muhammad.nasir.ext](https://forum.social.plus/u/muhammad.nasir.ext)\
**Post date:** [February 7, 2024, 11:42am UTC](https://forum.social.plus/t/how-to-get-post-owner-in-webhook-comment-didcreate/1107/1 "2024-02-07T11:42:12Z")

</div>

Hi,

I need to get the owner of the post in this event [Amity API](https://api-docs.amity.co/#/WebhookEvent/get_webhook_v3_comment_didCreate)

Is there any easy way to get the owner of the post or I have to get owner from post details [Amity API](https://api-docs.amity.co/#/Post/get_api_v3_posts__postId_)

Regards

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [February 7, 2024, 12:47pm UTC](https://forum.social.plus/t/how-to-get-post-owner-in-webhook-comment-didcreate/1107/2 "2024-02-07T12:47:34Z")

</div>

Hello, so you will have to grab the _“referenceId”: “string”_ in the Comment.didCreate response and call this [Amity API](https://api-docs.amity.co/#/Post/get_api_v3_posts__postId_) to get post detail including post owner.

---

<div class="post-metadata">

**Author:** ![muhammad.nasir.ext](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@muhammad.nasir.ext](https://forum.social.plus/u/muhammad.nasir.ext)\
**Post date:** [February 7, 2024, 5:24pm UTC](https://forum.social.plus/t/how-to-get-post-owner-in-webhook-comment-didcreate/1107/3 "2024-02-07T17:24:44Z")

</div>

This is what I figure out so far. It would be great if I can get owner\_id inside comment response. I need to call another endpoint to just get owner info. @amitysupport

Regards,

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [February 8, 2024, 9:43am UTC](https://forum.social.plus/t/how-to-get-post-owner-in-webhook-comment-didcreate/1107/4 "2024-02-08T09:43:12Z")

</div>

Thank you for your feedback, @muhammad.nasir.ext. We will pass this along to our team for consideration as a potential future enhancement.
