# Private Message Send API

**URL:** <https://meta.discourse.org/t/private-message-send-api/27593>\
**Category:** Support\
**Created:** [4월 15, 2015, 12:44오후 UTC](https://meta.discourse.org/t/private-message-send-api/27593 "2015-04-15T12:44:59Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![BrianGillespie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/briangillespie/32/105563_2.png) [@BrianGillespie](https://meta.discourse.org/u/BrianGillespie)\
**Post date:** [11월 29, 2017, 1:06오전 UTC](https://meta.discourse.org/t/private-message-send-api/27593/14 "2017-11-29T01:06:20Z")

</div>

Since you are creating private message via API call, you could also change the topic status:

It looks like `status=archived` and `enabled=true` sets the archived flag.

> <https://github.com/discourse/discourse_api/blob/main/examples/change_topic_status.rb>

---

_[View the full topic](https://meta.discourse.org/t/private-message-send-api/27593)._
