Retrieve contactGroups on GET request for all contacts
As far as I can tell you can't get contactGroups when doing a GET request for all contacts. You can only retrieve them when requesting a singular contact.
12
votes
![](https://secure.gravatar.com/avatar/ba18f0c2f018dbb0f4315f8c96f47929?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
By specifying the optional ‘page’ parameter on GET Contacts, additional elements are returned, including any groups to which the contact belongs: http://developer.xero.com/documentation/api/contacts/#GET