Search code examples
google-apigoogle-contacts-apigoogle-people-api

Retrieving a contact group's name using the Google People API


I'm using the Google People API to get all the contacts of a user under a Google business domain. I was able to list the contacts and get the list of Person objects and the contactGroupId from the ContactGroupMembership object. Is there a way to get the name and other details of a user-created group without having to use the Google Contacts API?


Solution

  • You can retrieve a contact group name by using the newly released contact group endpoints: https://developers.google.com/people/api/rest/v1/contactGroups