Skip to main content

How can I get all members in a group via the API?

  • December 14, 2020
  • 4 replies
  • 50 views

Marcos Perez
Hello everyone! I know we can get the groups a member is in, but can't find the way to get all the members in a group via API, which is far more efficient. Is there anything I'm not finding in the API documentation?

December 14, 2020

Hi! You can use the group members endpoint: ```https://api.getguru.com/api/v1/groups/some-group-id/members``` You can get the group ID from the groups endpoint

4 replies

Dillon Head
  • Scholar
  • December 14, 2020
Hi! You can use the group members endpoint: ```https://api.getguru.com/api/v1/groups/some-group-id/members``` You can get the group ID from the groups endpoint

Marcos Perez
  • Author
  • December 14, 2020
Didn't know about that enpoint! Thank you very much! This will help me for sure:thankyou:

Dillon Head
  • Scholar
  • December 14, 2020
Nice! No problem! :slightlysmilingface:

Mary Houston
Forum|alt.badge.img
  • Smart Cookie
  • December 14, 2020
Nice @marcos.perez! and thank you @dillon for the assist!! We are actively working on updating our documentation, but really appreciate the community help!