How to determine the ID of each group for use with the API?


(Leah Kramer) #1

Hello all. I’m using the API to set users’ groups and it requires the numerical ID of the group but I can’t seem to find that anywhere.

Thanks very much for any help anyone can provide!


(Jay Pfaffman) #2

/admin/groups.json will give you information on all of the groups.

If you’re doing something with the API, you can probably grok JSON, but this Chrome JSONview plugin makes it easier to read.


(Leah Kramer) #3

Fantastic. Thanks Jay.