# APIでユーザーのメールをすべて取得する方法はありますか？

**URL:** <https://meta.discourse.org/t/is-there-a-way-to-get-all-emails-of-users-with-the-api/131077>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [2019 年 10 月 15 日午後 4:57 UTC](https://meta.discourse.org/t/is-there-a-way-to-get-all-emails-of-users-with-the-api/131077 "2019-10-15T16:57:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [2019 年 10 月 15 日午後 5:00 UTC](https://meta.discourse.org/t/is-there-a-way-to-get-all-emails-of-users-with-the-api/131077/2 "2019-10-15T17:00:33Z")

</div>

[Data Explorer](https://meta.discourse.org/t/32566?silent=true) プラグインを使用してクエリを作成し、その後 `SELECT * FROM user_emails` のようなクエリでクエリ API を呼び出すことができます。

ユーザーごとに `https://meta.discourse.org/u/<username>/emails.json` エンドポイントもあります。

---

_[View the full topic](https://meta.discourse.org/t/is-there-a-way-to-get-all-emails-of-users-with-the-api/131077)._
