If it must be done through the API, you could set up a Data Explorer query and use the methods outlined in Run Data Explorer queries with the Discourse API
tshenry
(Taylor)
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How to get all posts from Discourse (Any API available?) | 1 | 844 | April 15, 2021 | |
| Delete Post from a Topic Using discourse API | 4 | 4453 | July 1, 2015 | |
| Run Data Explorer queries with the Discourse API | 14 | 13667 | May 6, 2025 | |
| Do we have any API or way to get latest post details for a particular Topic in discourse? | 5 | 3684 | June 1, 2017 | |
| How can I delete or undelete topics? | 30 | 15329 | September 14, 2018 |