---
title: "Trigger Google Contacts Sync"
method: POST
path: "/api/contacts/sync/google"
tags: ["contacts", "contacts"]
---

# Trigger Google Contacts Sync

`POST /api/contacts/sync/google`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/contacts/sync/google`
- Auth: none declared

Manually trigger Google Contacts sync for all connected Gmail/Calendar accounts.

This resets the discovery status to 'pending' for all the user's Google accounts,
causing the background worker to sync contacts with birthdays from Google People API.

Returns:
    Number of accounts that will be synced

## Response `200`

Successful Response

- GoogleContactsSyncResponse: Response for Google Contacts sync trigger.
  - `success` boolean, required
  - `accounts_triggered` integer, required
  - `message` string, required

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/77bef09a9209?raw)
