Lodol Docs

Google Contacts

API actions for the Google Contacts integration.

Google Contacts

Manage your Google Contacts.


Create contact

Create a new contact in Google Contacts.

Parameters

ParameterTypeRequiredDescription
given_namestringYesFirst name of the contact
family_namestringNoLast name of the contact
emailstringNoEmail address of the contact
phonestringNoPhone number of the contact

Response

"people/c987654321"

Delete contact

Delete a contact from Google Contacts.

Parameters

ParameterTypeRequiredDescription
resource_namestringYesThe resource name of the contact to delete

Response

true

Get contact

Retrieve a single contact by resource name.

Parameters

ParameterTypeRequiredDescription
resource_namestringYesThe resource name of the contact (e.g., 'people/c123456789')

Response

{
  "email": "john@example.com",
  "etag": "%EgUBAgkLNz4aBAECBQciDFJJREZyWjJIMDdBTT0=",
  "fullName": "John Smith",
  "phone": "+1234567890",
  "resourceName": "people/c123456789"
}

List contacts

Retrieve contacts from the authenticated Google account.

Parameters

ParameterTypeRequiredDescription
page_sizenumberNoMaximum number of contacts to return (default 25)

Response

[
  {
    "email": "john@example.com",
    "fullName": "John Smith",
    "phone": "+1234567890",
    "resourceName": "people/c123456789"
  }
]

Update contact

Update an existing contact in Google Contacts.

Parameters

ParameterTypeRequiredDescription
resource_namestringYesThe resource name of the contact to update
given_namestringNoNew first name of the contact
family_namestringNoNew last name of the contact
emailstringNoNew email address of the contact
phonestringNoNew phone number of the contact

Response

"people/c123456789"

On this page