Learning Center/API and Integration/API

Groups API

Thomas Pedersen
posted this on February 16, 2010 12:08 am

Each user has a type, which determines their administrative privileges.

Show group

Returns a single group

GET /api/v1/groups/{id}.xml
<group>
  <id>56277</id>
  <name>Marketing</name>
</group>

List all

Returns all groups in one list. The body of each group is the same as for show group.

GET /api/v1/groups.xml
<groups type="array">
<group>
...
</group>
<group>
...
</group>
</groups>