# Category Slug api

**URL:** https://meta.discourse.org/t/category-slug-api/156693
**Category:** Support
**Created:** [July 3, 2020, 1:29pm UTC](https://meta.discourse.org/t/category-slug-api/156693 "2020-07-03T13:29:50Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Gaurav\_Sardana](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gaurav_sardana/32/171499_2.png) [@Gaurav\_Sardana](https://meta.discourse.org/u/Gaurav_Sardana)
#### Post date: [July 3, 2020, 1:29pm UTC](https://meta.discourse.org/t/category-slug-api/156693/1 "2020-07-03T13:29:50Z")

</div>

Hey,

I have to change the category slug for all the category in our forum. Is there is any API for that ?

---

<div class="post-metadata">

### Author: ![osioke](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osioke/32/238946_2.png) [@osioke](https://meta.discourse.org/u/osioke)
#### Post date: [July 3, 2020, 3:40pm UTC](https://meta.discourse.org/t/category-slug-api/156693/2 "2020-07-03T15:40:38Z")

</div>

Since it is possible to change the category slug via the UI, then it is also possible via the API. Anything that is possible via the UI is possible via the API, you just have to figure out [Reverse engineer the Discourse API](https://meta.discourse.org/t/how-to-reverse-engineer-the-discourse-api/20576).

---

<div class="post-metadata">

### Author: ![Gaurav\_Sardana](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gaurav_sardana/32/171499_2.png) [@Gaurav\_Sardana](https://meta.discourse.org/u/Gaurav_Sardana)
#### Post date: [July 3, 2020, 4:57pm UTC](https://meta.discourse.org/t/category-slug-api/156693/3 "2020-07-03T16:57:59Z")

</div>

That’s i know. Can you show something with any example. Like change any category slug.

---

<div class="post-metadata">

### Author: ![osioke](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osioke/32/238946_2.png) [@osioke](https://meta.discourse.org/u/osioke)
#### Post date: [July 3, 2020, 4:59pm UTC](https://meta.discourse.org/t/category-slug-api/156693/4 "2020-07-03T16:59:30Z")

</div>

No I cannot I’m afraid, I haven’t had the need to. You’d have to research and try it out.
