How to get post owner in webhook Comment.didCreate

Hi,

I need to get the owner of the post in this event Amity API

Is there any easy way to get the owner of the post or I have to get owner from post details Amity API

Regards

Hello, so you will have to grab the “referenceId”: “string” in the Comment.didCreate response and call this Amity API to get post detail including post owner.

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,

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