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
| Parameter | Type | Required | Description |
|---|---|---|---|
given_name | string | Yes | First name of the contact |
family_name | string | No | Last name of the contact |
email | string | No | Email address of the contact |
phone | string | No | Phone number of the contact |
Response
"people/c987654321"Delete contact
Delete a contact from Google Contacts.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
resource_name | string | Yes | The resource name of the contact to delete |
Response
trueGet contact
Retrieve a single contact by resource name.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
resource_name | string | Yes | The 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
| Parameter | Type | Required | Description |
|---|---|---|---|
page_size | number | No | Maximum 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
| Parameter | Type | Required | Description |
|---|---|---|---|
resource_name | string | Yes | The resource name of the contact to update |
given_name | string | No | New first name of the contact |
family_name | string | No | New last name of the contact |
email | string | No | New email address of the contact |
phone | string | No | New phone number of the contact |
Response
"people/c123456789"