# Using the API, can't PUT to topic unless slug is on the URL

**URL:** <https://meta.discourse.org/t/using-the-api-cant-put-to-topic-unless-slug-is-on-the-url/50545>\
**Category:** Feature\
**Tags:** pr-welcome\
**Created:** [Septembre 23, 2016, 2:53 UTC](https://meta.discourse.org/t/using-the-api-cant-put-to-topic-unless-slug-is-on-the-url/50545 "2016-09-23T14:53:21Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)\
**Post date:** [Septembre 27, 2016, 12:21 UTC](https://meta.discourse.org/t/using-the-api-cant-put-to-topic-unless-slug-is-on-the-url/50545/4 "2016-09-27T12:21:55Z")

</div>

Yes it appears that you need the slug to be present to make the PUT request on topics and you can use the wrong slug and it will work fine.

See my demo:

 ![](https://global.discourse-cdn.com/meta/original/3X/5/f/5f8c287e23bb4a5b597bb511de23fe99cbcc9089.gif)

---

_[View the full topic](https://meta.discourse.org/t/using-the-api-cant-put-to-topic-unless-slug-is-on-the-url/50545)._
