# 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:** 2

<div class="post-metadata">

**Author:** ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**Post date:** [06.Апрель.2017 03:26:51 UTC](https://meta.discourse.org/t/creating-new-topic-in-subcategory-via-api/60518/2 "2017-04-06T03:26:51Z")

</div>

Assuming the API takes the same parameters as create topic via URL (no idea why it wouldn’t) - then you should be using the category name, not the slug.

Source:  
[https://meta.discourse.org/t/cannot-compose-a-pre-filled-topic-via-url-when-subcategory-has-topic-template/39941/2?u=jomaxro](https://meta.discourse.org/t/cannot-compose-a-pre-filled-topic-via-url-when-subcategory-has-topic-template/39941/2)

---

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