# Getting who liked a post from the API

**URL:** <https://meta.discourse.org/t/getting-who-liked-a-post-from-the-api/103618>\
**Category:** Development\
**Created:** [December 6, 2018, 1:15pm UTC](https://meta.discourse.org/t/getting-who-liked-a-post-from-the-api/103618 "2018-12-06T13:15:24Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![paigen11](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/paigen11/32/229055_2.png) [@paigen11](https://meta.discourse.org/u/paigen11)\
**Post date:** [April 27, 2022, 7:09pm UTC](https://meta.discourse.org/t/getting-who-liked-a-post-from-the-api/103618/6 "2022-04-27T19:09:01Z")

</div>

Hello!

I’m trying to ascertain a similar thing for a Discourse forum my company uses: [https://discuss.blues.io](https://discuss.blues.io)

I have staff level credentials, however, when I look at the JSON payload for posts that have been liked, I don’t see any indication of it either in the `actions_summary` or the `post_action_users` JSON payloads.

For example, [this post](https://discuss.blues.io/t/what-antenna-types-are-supported-by-notecard/31/) has lots of replies and likes, but when I query it in the browser [https://discuss.blues.io/post\_action\_users.json?id=31&post\_action\_type\_id=2](https://discuss.blues.io/post_action_users.json?id=31&post_action_type_id=2), I get back `{"post_action_users":[]}`

Perhaps the API has changed? Or I’m querying for the wrong thing. Any help is greatly appreciated.

And a follow up question: is there a webhook I could potentially set up to be notified when a user likes a post identifying the user and the post? We’d like to capture this info for analytics purposes.

Thanks!

---

_[View the full topic](https://meta.discourse.org/t/getting-who-liked-a-post-from-the-api/103618)._
