calendar_sync

Set Google account sync interval

Calendar-sync controls for Customer analytics settings. Sync runs on an hourly Temporal schedule; this surface only offers the manual "sync now" escape hatch.

post/api/projects/{project_id}/calendar_sync/interval/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/calendar_sync/interval/
  • Auth: none declared

Path parameters

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Request body

integration_idinteger required

Id of the connected Google account.

sync_interval_minutesinteger required

Minutes between scheduled syncs: 5, 15, 30, or 60.

Response

integration_idinteger required

Id of the connected Google account.

sync_interval_minutesinteger required

Minutes between scheduled syncs: 5, 15, 30, or 60.

Changes

No recorded changes to this operation across all 1 revision of this API.