# API Query objects using userdata field

**URL:** <https://community.info-beamer.com/t/api-query-objects-using-userdata-field/318>\
**Category:** Suggestions\
**Created:** [January 30, 2019, 10:58am UTC](https://community.info-beamer.com/t/api-query-objects-using-userdata-field/318 "2019-01-30T10:58:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![salvatoregiordanoo](https://community.info-beamer.com/user_avatar/community.info-beamer.com/salvatoregiordanoo/32/26_2.png) [@salvatoregiordanoo](https://community.info-beamer.com/u/salvatoregiordanoo)\
**Post date:** [January 30, 2019, 10:58am UTC](https://community.info-beamer.com/t/api-query-objects-using-userdata-field/318/1 "2019-01-30T10:58:32Z")

</div>

I think it would be useful to have the possibility to query the objects (devices, setups…) using the `userdata` field

So for example to get all devices with `userdata.personal = true`

GET [https://info-beamer.com/api/v1/device/list?userdata.personal=true](https://info-beamer.com/api/v1/device/list?userdata.personal=true)

---

<div class="post-metadata">

**Author:** ![infobeamer-fw](https://community.info-beamer.com/user_avatar/community.info-beamer.com/infobeamer-fw/32/3_2.png) [@infobeamer-fw](https://community.info-beamer.com/u/infobeamer-fw)\
**Post date:** [January 30, 2019, 11:53am UTC](https://community.info-beamer.com/t/api-query-objects-using-userdata-field/318/2 "2019-01-30T11:53:49Z")

</div>

That’s certainly an interesting idea. Once all the permission stuff is done, filtering like that might be added to devices, setups, packages and assets. Sounds pretty useful.

---

<div class="post-metadata">

**Author:** ![infobeamer-fw](https://community.info-beamer.com/user_avatar/community.info-beamer.com/infobeamer-fw/32/3_2.png) [@infobeamer-fw](https://community.info-beamer.com/u/infobeamer-fw)\
**Post date:** [November 16, 2021, 1:40pm UTC](https://community.info-beamer.com/t/api-query-objects-using-userdata-field/318/3 "2021-11-16T13:40:43Z")

</div>

Just browsing older posts: This feature has been available for a while now in the form of filtering. The [device/list call](https://info-beamer.com/doc/api#listdevices) for example can filter using userdata content. The request is almost like suggested: Example:

```nohighlight
GET https://info-beamer.com/api/v1/device/list?filter:userdata.personal=true

```
