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

<div class="post-metadata">

**Author:** ![Gaurav\_Tewari](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gaurav_tewari/32/260621_2.png) [@Gaurav\_Tewari](https://meta.discourse.org/u/Gaurav_Tewari)\
**Post date:** [October 16, 2022, 6:13pm UTC](https://meta.discourse.org/t/sets-reply-to-when-creating-a-message-through-the-api/80903/5 "2022-10-16T18:13:33Z")

</div>

Hi @greedNotGood @Bertrand_Gorge I’m building a project where I need to add a reply to a post via discourse api. I’m new to discourse, Can you help me with a curl request or some documentation for the same? Appreciate your help.

Gaurav T

---

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