Getting Group members via API

(Jay Pfaffman) #1

I’m trying to get group members from the API. From How to reverse engingeer the API, I think I should be able to get group info from


But all I get is an empty browser window.

(cpradio) #2

Is it a publicly accessible group?

As this works

(Jay Pfaffman) #3

Aha! That helped. My problem (I think) was that I was going through the admin path.

I don’t see any links to the group that way (https://host//groups/groupname).

Thanks very much.

(cpradio) #4

If you want to access a private group, you will have to use a Discourse API Key and username in the query. Just be sure you don’t let that key get out to anywhere.