> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aitasker.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Calendar Webhook

> Receive Google Calendar push notifications and trigger incremental sync.

Google sends POST with headers:
- X-Goog-Channel-ID: our channel UUID (from register_webhook)
- X-Goog-Resource-ID: Google's resource ID
- X-Goog-Resource-State: 'sync' (initial) or 'exists' (change)



## OpenAPI

````yaml /openapi.json post /api/v1/google/webhook/calendar
openapi: 3.1.0
info:
  title: AITasker
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/google/webhook/calendar:
    post:
      tags:
        - Google Integration
        - Google Integration
      summary: Google Calendar Webhook
      description: |-
        Receive Google Calendar push notifications and trigger incremental sync.

        Google sends POST with headers:
        - X-Goog-Channel-ID: our channel UUID (from register_webhook)
        - X-Goog-Resource-ID: Google's resource ID
        - X-Goog-Resource-State: 'sync' (initial) or 'exists' (change)
      operationId: google_calendar_webhook_api_v1_google_webhook_calendar_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}

````