# Get singletons with group information

**URL:** <https://discourse.getcockpit.com/t/get-singletons-with-group-information/1533>\
**Category:** Support\
**Created:** [June 29, 2020, 2:16pm UTC](https://discourse.getcockpit.com/t/get-singletons-with-group-information/1533 "2020-06-29T14:16:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tommueller](https://avatars.discourse-cdn.com/v4/letter/t/aca169/32.png) [@tommueller](https://discourse.getcockpit.com/u/tommueller)\
**Post date:** [June 29, 2020, 2:16pm UTC](https://discourse.getcockpit.com/t/get-singletons-with-group-information/1533/1 "2020-06-29T14:16:35Z")

</div>

I am using singletons to add some static pages to our website (about us, privacy, contact etc.).

I found the `listSingletons`-endpoint, but this really return just the bare minimum (array of the names). I am using groups on the singletons to put them into categories and would like to use these groups in order to build my navigation in the frontend dynamically.

Is there any way to retrieve the group information when fetching the singletons?

Thanks!

---

<div class="post-metadata">

**Author:** ![jasonday](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@jasonday](https://discourse.getcockpit.com/u/jasonday)\
**Post date:** [July 27, 2020, 6:02pm UTC](https://discourse.getcockpit.com/t/get-singletons-with-group-information/1533/2 "2020-07-27T18:02:55Z")

</div>

So, I’ve done this with collections for similar pages.

---

<div class="post-metadata">

**Author:** ![tommueller](https://avatars.discourse-cdn.com/v4/letter/t/aca169/32.png) [@tommueller](https://discourse.getcockpit.com/u/tommueller)\
**Post date:** [July 27, 2020, 7:44pm UTC](https://discourse.getcockpit.com/t/get-singletons-with-group-information/1533/3 "2020-07-27T19:44:01Z")

</div>

Thanks. Yes that’s also how I ended up doing it.
