Get singletons with group information

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!

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

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