The People API lets you:
- Read and manage the authenticated user's
Contacts
- Read and copy the authenticated user's
"Other contacts"
- Read profile information for authenticated users and their contacts
- Read domain profiles and contacts
For example, suppose that the authenticated user, Jen, has Fabian and Ranjith in
her private contacts. When your app calls
people.connections.list
to read a
list of her connections, Jen is presented with a consent screen asking to give
the app access to the list. If Jen consents, the app reads a list containing
person resources
for Fabian and Ranjith.
If the app needs information for a specific person, it can then call
people.get
, passing in a resource name, to get
the
person resource
for that person.
The app can also manage contacts by creating new contacts using
people.createContact
, update existing
contacts it has read from
people.connections.list
using
people.updateContact
, and delete contacts
using
people.deleteContact
.
Google Workspace users can also list their directory domain profiles and domain
contacts using
people.listDirectoryPeople
or search
them using
people.searchDirectoryPeople
.
The people information that the People API reads is merged from various
sources, depending on the following conditions:
Understanding Merged Person Data
The data for a person is derived from one main source type. Data from other
sources is merged with this data if the sources are connected through verified
email addresses, phone numbers, or profile URLs. These are the ways a person may
be composed:
Only contact based people can be modified by mutation endpoints. Profile and
domain contact mutations are not supported.