# API: כיצד לקבל את כל ההודעות הפרטיות הכוללות משתמש (כולל הודעות שנשלחו)

**URL:** <https://meta.discourse.org/t/api-how-to-get-all-private-messages-that-include-a-user-including-sent-messages/214655>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [12 בינואר,‏ 2022,‏ 4:03pm UTC](https://meta.discourse.org/t/api-how-to-get-all-private-messages-that-include-a-user-including-sent-messages/214655 "2022-01-12T16:03:43Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [12 בינואר,‏ 2022,‏ 4:43pm UTC](https://meta.discourse.org/t/api-how-to-get-all-private-messages-that-include-a-user-including-sent-messages/214655/2 "2022-01-12T16:43:26Z")

</div>

Maybe use the [data explorer](https://meta.discourse.org/t/32566?silent=true) plugin to get the data you want. You could then retrieve it via the API.

Or maybe say what problem you’re trying to solve. That is, what are you going to do when you have the information? Maybe there’s a better way to do that.

---

_[View the full topic](https://meta.discourse.org/t/api-how-to-get-all-private-messages-that-include-a-user-including-sent-messages/214655)._
