# How can I allow users to like posts using RESTapi

**URL:** https://meta.discourse.org/t/how-can-i-allow-users-to-like-posts-using-restapi/339773
**Category:** Support
**Tags:** rest-api
**Created:** [December 2, 2024, 10:08am UTC](https://meta.discourse.org/t/how-can-i-allow-users-to-like-posts-using-restapi/339773 "2024-12-02T10:08:02Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Bas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bas/32/294929_2.png) [@Bas](https://meta.discourse.org/u/Bas)
#### Post date: [December 2, 2024, 10:10am UTC](https://meta.discourse.org/t/how-can-i-allow-users-to-like-posts-using-restapi/339773/2 "2024-12-02T10:10:37Z")

</div>

I think you’ll need

> [@User API keys specification](https://meta.discourse.org/t/user-api-keys-specification/48536):
>
> Discourse contains a system for generating API keys per user if a very specific protocol is followed. This feature facilitates “application” access to Discourse instances without needing to involve moderators. High level description At a high level: Client (desktop app, browser plugin, mobile app) generates a private/public key pair and return url Client redirects to a route on discourse giving discourse its public key Discourse gets approval from user to use app Discourse generat…

---

_[View the full topic](https://meta.discourse.org/t/how-can-i-allow-users-to-like-posts-using-restapi/339773)._
