# \[API\] How to get the groups of a user?

**URL:** <https://community.ofelia.com/t/api-how-to-get-the-groups-of-a-user/9101>\
**Category:** Q&A\
**Created:** [23 May 2018 19:08 UTC](https://community.ofelia.com/t/api-how-to-get-the-groups-of-a-user/9101 "2018-05-23T19:08:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![clara.gaset\_1349952](https://avatars.discourse-cdn.com/v4/letter/c/59ef9b/32.png) [@clara.gaset\_1349952](https://community.ofelia.com/u/clara.gaset_1349952)\
**Post date:** [23 May 2018 19:08 UTC](https://community.ofelia.com/t/api-how-to-get-the-groups-of-a-user/9101/1 "2018-05-23T19:08:20Z")

</div>

Hi everyone,

I’ve been trying to get the groups of the logged user. However, the only possibility that I have found is getting the users of a group, and I want the opposite relation.  
It is possible to do this with Bonita API? I tried multiple combinations but I didn’t get the expected result.

Thanks,  
Clara
