# 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:** 3

<div class="post-metadata">

**Author:** ![pontus.dualdecade](https://avatars.discourse-cdn.com/v4/letter/p/f6c823/32.png) [@pontus.dualdecade](https://meta.discourse.org/u/pontus.dualdecade)\
**Post date:** [December 6, 2018, 1:34pm UTC](https://meta.discourse.org/t/getting-who-liked-a-post-from-the-api/103618/3 "2018-12-06T13:34:18Z")

</div>

Your link does not work.

This works for me though:

```plaintext
GET /post_action_users?id=13&post_action_type_id=2

```

This outputs

```plaintext
{
  "post_action_users": [
    {
      "id": 1,
      "username": "ausername",
      "name": null,
      "avatar_template": "/letter_avatar_proxy/v2/letter/i/{size}.png",
      "post_url": null,
      "username_lower": "ausername"
    },
    {
      "id": 10,
      "username": "anotherusername",
      "name": null,
      "avatar_template": "/letter_avatar_proxy/v2/letter/{size}.png",
      "post_url": null,
      "username_lower": "anotherusername"
    }
  ]
}

```

Which is a list of users who liked the post with id `13`

---

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