# Discourse Likes API

**URL:** https://meta.discourse.org/t/discourse-likes-api/249009
**Category:** Development
**Tags:** rest-api
**Created:** [December 15, 2022, 7:21am UTC](https://meta.discourse.org/t/discourse-likes-api/249009 "2022-12-15T07:21:09Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [December 15, 2022, 3:08pm UTC](https://meta.discourse.org/t/discourse-likes-api/249009/3 "2022-12-15T15:08:55Z")

</div>

> [@Reverse engineer the Discourse API](https://meta.discourse.org/t/reverse-engineer-the-discourse-api/20576):
>
> Discourse is backed by a complete JSON api. Anything you can do on the site you can also do using the JSON api. The API is documented at [docs.discourse.org](https://docs.discourse.org). You can also use the [discourse\_api](https://github.com/discourse/discourse_api) Ruby gem as a client library. However, not every endpoint is documented. To determine how to do something with the JSON API here are some steps you can follow. Example: recategorize a topic. Go to a topic and start editing a category: Open Chrome dev tools, switch to the Network tab, select …

You should check the above documentation. You get the details of users who liked a post by fetching the endpoint `/post_action_users.json?id=POST_ID&post_action_type_id=2`

---

_[View the full topic](https://meta.discourse.org/t/discourse-likes-api/249009)._
