# Retrieving user information via REST API

**URL:** https://meta.discourse.org/t/retrieving-user-information-via-rest-api/90425
**Category:** Development
**Created:** [6월 21, 2018, 9:48오후 UTC](https://meta.discourse.org/t/retrieving-user-information-via-rest-api/90425 "2018-06-21T21:48:35Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)
#### Post date: [6월 21, 2018, 10:44오후 UTC](https://meta.discourse.org/t/retrieving-user-information-via-rest-api/90425/2 "2018-06-21T22:44:06Z")

</div>

Apparently the admin user route isn’t documented in the API Docs. I’ll make sure that route is added.

If you GET `/admin/users/{id}.json` it will return these fields which are close to what you are after:

```plaintext
flags_given_count
flags_received_count
warnings_received_count
suspended (boolean)

```

> [@sarahann](#):
>
> And if it’s not possible, then is a plugin REST API that surfaces this information the enxt best option?

I would start with the [Discourse Data Explorer](https://meta.discourse.org/t/data-explorer-plugin/32566) where you can create a saved query that you can send an API call to and pass it a user id to return exactly what you are after. But yes, creating a plugin that creates a new route to expose those fields is also an option.

---

_[View the full topic](https://meta.discourse.org/t/retrieving-user-information-via-rest-api/90425)._
