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

<div class="post-metadata">

**Author:** ![JQ331](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@JQ331](https://meta.discourse.org/u/JQ331)\
**Post date:** [12 בינואר,‏ 2022,‏ 4:46pm UTC](https://meta.discourse.org/t/api-how-to-get-all-private-messages-that-include-a-user-including-sent-messages/214655/3 "2022-01-12T16:46:10Z")

</div>

In this case, I just want to get back a list of all private messages involving a user. Hadn’t thought of the [data explorer](https://meta.discourse.org/t/32566?silent=true) plugin–but that’s probably adding more complexity (but I’ll still take a look). I’m hoping to stay within the world of (relatively simple) API calls.

If this doesn’t exist right now–if there is not a way to view all private messages involving a user (both sent to and sent from a user) without making different API calls, can I request this feature?

---

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