# Sets reply\_to when creating a message through the API?

**URL:** <https://meta.discourse.org/t/sets-reply-to-when-creating-a-message-through-the-api/80903>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [February 18, 2018, 9:27pm UTC](https://meta.discourse.org/t/sets-reply-to-when-creating-a-message-through-the-api/80903 "2018-02-18T21:27:41Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mikechristopher](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikechristopher/32/89135_2.png) [@mikechristopher](https://meta.discourse.org/u/mikechristopher)\
**Post date:** [February 19, 2018, 8:13am UTC](https://meta.discourse.org/t/sets-reply-to-when-creating-a-message-through-the-api/80903/2 "2018-02-19T08:13:20Z")

</div>

I believe you should be able to use the key - **reply\_to\_post\_number** in your POST request

> **[Discourse API Docs](https://docs.discourse.org/#tag/Posts%2Fpaths%2F~1posts%2Fpost)**

---

_[View the full topic](https://meta.discourse.org/t/sets-reply-to-when-creating-a-message-through-the-api/80903)._
