# Creating new topic in subcategory via API

**URL:** <https://meta.discourse.org/t/creating-new-topic-in-subcategory-via-api/60518>\
**Category:** Product Support\
**Created:** [06.Апрель.2017 03:24:20 UTC](https://meta.discourse.org/t/creating-new-topic-in-subcategory-via-api/60518 "2017-04-06T03:24:20Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![nordize](https://avatars.discourse-cdn.com/v4/letter/n/c68b51/32.png) [@nordize](https://meta.discourse.org/u/nordize)\
**Post date:** [06.Апрель.2017 03:24:20 UTC](https://meta.discourse.org/t/creating-new-topic-in-subcategory-via-api/60518/1 "2017-04-06T03:24:20Z")

</div>

I tried using `&category=subcategory-slug` but it ends up in the `uncategorized` category. I also tried to use `&category=category-slug/subcategory-slug` and got the same thing. It works fine if it’s a main category. Is it possible to create a new topic in a subcategory? If yes, what’s the syntax?

---

_[View the full topic](https://meta.discourse.org/t/creating-new-topic-in-subcategory-via-api/60518)._
