# Hide posts via API

**URL:** https://meta.discourse.org/t/hide-posts-via-api/400135
**Category:** Support
**Created:** [April 7, 2026, 4:02pm UTC](https://meta.discourse.org/t/hide-posts-via-api/400135 "2026-04-07T16:02:26Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![nitinkg](https://avatars.discourse-cdn.com/v4/letter/n/eb8c5e/32.png) [@nitinkg](https://meta.discourse.org/u/nitinkg)
#### Post date: [April 7, 2026, 4:02pm UTC](https://meta.discourse.org/t/hide-posts-via-api/400135/1 "2026-04-07T16:02:26Z")

</div>

Is there any API to **hide a post (not a topic)** without deleting it?

We want flagged posts to be hidden until reviewed, but using the delete API resolves the flag, which we want to avoid.

For topics, we can unlist them, but we need a similar option for individual posts.

Is this possible via any API or configuration?

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [April 8, 2026, 6:16pm UTC](https://meta.discourse.org/t/hide-posts-via-api/400135/2 "2026-04-08T18:16:00Z")

</div>

I don’t think there’s a way to hide a specific post without also resolving the flag using the API at the moment.

As a work-around, would it be reasonable if any flag automatically hid the post? There’s a site setting called `hide_post_sensitivity` — if you increase that to high, that drops the hiding threshold low enough so a single flag from a TL3+ user will hide the post.

You could additionally use the API to add an additional flag from a high trust user, which could increase the score high enough so every flag results in the post being hidden.
