# Topic Status API

**URL:** https://meta.discourse.org/t/topic-status-api/153221
**Category:** Development
**Created:** [May 29, 2020, 12:22pm UTC](https://meta.discourse.org/t/topic-status-api/153221 "2020-05-29T12:22:47Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Roragok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roragok/32/128471_2.png) [@Roragok](https://meta.discourse.org/u/Roragok)
#### Post date: [May 29, 2020, 12:22pm UTC](https://meta.discourse.org/t/topic-status-api/153221/1 "2020-05-29T12:22:47Z")

</div>

I’m working on a few API calls for the topic status

> **[Discourse API Docs](https://docs.discourse.org/#tag/Topics/paths/~1t~1%7Bid%7D~1status/put)**

I can close a topic just fine, but none of the other options seem to reopen it.

Am i missing something dumb or is that not an option? or is there a better way.

The ask that I am trying to achieve is for a topic to be closed “locked” temporarily to prevent posting during the Night Phase of our forum mafia game. I would need it to be reopened During the next day phase.

Can someone point me in the right direction?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [May 29, 2020, 3:03pm UTC](https://meta.discourse.org/t/topic-status-api/153221/2 "2020-05-29T15:03:40Z")

</div>

The standard response is to do whatever you want in the UX and [reverse engineer the Discourse API](https://meta.discourse.org/t/how-to-reverse-engineer-the-discourse-api/20576) from there.

---

<div class="post-metadata">

### Author: ![Roragok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roragok/32/128471_2.png) [@Roragok](https://meta.discourse.org/u/Roragok)
#### Post date: [May 29, 2020, 4:24pm UTC](https://meta.discourse.org/t/topic-status-api/153221/3 "2020-05-29T16:24:51Z")

</div>

Thank you was able to find the values i needed. the status stayed. `"closed"` but enabled changed to `false`

now just working through the rest of my issues!

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [May 29, 2020, 4:41pm UTC](https://meta.discourse.org/t/topic-status-api/153221/4 "2020-05-29T16:41:28Z")

</div>

Awesome! I can never guess when this answer will be exactly what someone needs vs seeming sarcastic and unhelpful! Good luck with the rest of your project!

---

<div class="post-metadata">

### Author: ![Roragok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roragok/32/128471_2.png) [@Roragok](https://meta.discourse.org/u/Roragok)
#### Post date: [May 29, 2020, 4:48pm UTC](https://meta.discourse.org/t/topic-status-api/153221/5 "2020-05-29T16:48:26Z")

</div>

yea im just slogging through some node js that i’m not super familiar with. all the curl requests work but trying to convert them into node
