# Share your use cases of using Discourse REST API 🧑‍💻

**URL:** <https://meta.discourse.org/t/share-your-use-cases-of-using-discourse-rest-api/272139>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [July 19, 2023, 3:17pm UTC](https://meta.discourse.org/t/share-your-use-cases-of-using-discourse-rest-api/272139 "2023-07-19T15:17:05Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [July 19, 2023, 3:17pm UTC](https://meta.discourse.org/t/share-your-use-cases-of-using-discourse-rest-api/272139/1 "2023-07-19T15:17:05Z")

</div>

Hi everyone 🙂

Many people use the Discourse API for various purposes, from automated tasks to interactions with other applications.

Can you share how you use it?

- At what end?

- What technology/software/programming language do you use for this matter?

Here’s how I use it to give a few examples:

- I use a reviewable item webhook that executes a PHP script, which uses Discourse’s API to trigger automatic spammer deletion. With many flagged posts each day in my community, and with a spam detection accuracy of 100%, it makes the admins and moderators’ work easier as they don’t have to manually review most of these accounts anymore (I wouldn’t recommend using such a method though, I carefully thought and tested it before using it).

- Use a Ko-Fi (a donations website) webhook that will use Discourse’s API via a PHP script to update a theme component’s setting value. The goal is to have a donation progress bar shown on Discourse that will be updated in real-time.

- I use it for testing purposes with Insomnia. It can be to populate my test instance with specific content, test requests when thinking about projects I’d like to create, help people on meta, etc.

What about you? Feel free to be exhaustive, I’m sure there are many interesting use to hear about 🙂

* * *

Reference topic about the API: [Discourse REST API Documentation](https://meta.discourse.org/t/discourse-rest-api-documentation/22706)  
Official documentation: [https://docs.discourse.org/](https://docs.discourse.org/)

---

_[View the full topic](https://meta.discourse.org/t/share-your-use-cases-of-using-discourse-rest-api/272139)._
