# How to use the fields flag to /api/users to select a single app\_metadata item instead of all of it

**URL:** <https://community.auth0.com/t/how-to-use-the-fields-flag-to-api-users-to-select-a-single-app-metadata-item-instead-of-all-of-it/69809>\
**Category:** Get Help\
**Created:** [September 16, 2021, 4:58pm UTC](https://community.auth0.com/t/how-to-use-the-fields-flag-to-api-users-to-select-a-single-app-metadata-item-instead-of-all-of-it/69809 "2021-09-16T16:58:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rickh](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rickh/32/13599_2.png) [@rickh](https://community.auth0.com/u/rickh)\
**Post date:** [September 16, 2021, 4:58pm UTC](https://community.auth0.com/t/how-to-use-the-fields-flag-to-api-users-to-select-a-single-app-metadata-item-instead-of-all-of-it/69809/1 "2021-09-16T16:58:43Z")

</div>

To save on bandwidth I would like to read a list of users, including just their email and ‘title’ (which is part of the app\_metadata).

I have tried several things in the ‘fields’ parameter, however, the only way I can get it to work is “fields=email,app\_metadata”. Unfortunately this returns _all_ metadata for each user.  
Is there a syntax I can use to request just the named app\_metadata.

e.g.  
“fields=email,app\_metadata[title]”

or

“fields=email,app\_metadata-title”

etc.?

---

<div class="post-metadata">

**Author:** ![marcus.baker](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marcus.baker/32/8586_2.png) [@marcus.baker](https://community.auth0.com/u/marcus.baker)\
**Post date:** [September 16, 2021, 8:38pm UTC](https://community.auth0.com/t/how-to-use-the-fields-flag-to-api-users-to-select-a-single-app-metadata-item-instead-of-all-of-it/69809/2 "2021-09-16T20:38:31Z")

</div>

Hi!

In my tests you should be able to do something like this:

fields=email,app\_metadata.title

note that it seems to be case sensitive

```auto
{
    "email": "myemail@domain.com",
    "user_metadata": {
      "Title": "Boss"
    }

```

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [September 30, 2021, 9:47am UTC](https://community.auth0.com/t/how-to-use-the-fields-flag-to-api-users-to-select-a-single-app-metadata-item-instead-of-all-of-it/69809/3 "2021-09-30T09:47:12Z")

</div>

Thanks for helping with this one Marcus!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [September 30, 2021, 9:47am UTC](https://community.auth0.com/t/how-to-use-the-fields-flag-to-api-users-to-select-a-single-app-metadata-item-instead-of-all-of-it/69809/4 "2021-09-30T09:47:15Z")

</div>


