---
title: "Google Connect"
method: GET
path: "/api/v3/auth/google/calendar/connect"
tags: ["Authentication"]
---

# Google Connect

`GET /api/v3/auth/google/calendar/connect`

## Request

- Base URL: `https://api.endless.health` (the document declares no server; this is the origin it was published from)
- URL: `https://api.endless.health/api/v3/auth/google/calendar/connect`
- Auth: none declared

Start Google OAuth consent (Calendar, offline access) for the authenticated coach.
We operate in popup mode only: we encode the FE origin (when available) into
`state` together with `popup=1`. The callback will notify the opener via
postMessage and close the popup. No FE redirects are performed by the server.

## Query parameters

- `popup` boolean
- `origin_param` string

## Response `200`

Successful Response

- unknown

## Other responses

- `404`: Not found
- `422`: Validation Error

---

[API](https://skmtc.dev/endless/apis/eh-core-v3-api-prod.md) - [All operations](https://skmtc.dev/endless/apis/eh-core-v3-api-prod/llms.txt) - [OpenAPI document](https://skmtc.dev/endless/apis/eh-core-v3-api-prod/revisions/9046a1eb2d0c?raw)
