Initiate Google OAuth
Redirect to Google OAuth consent screen. **Public Endpoint** (token-gated): Browser redirect — cannot carry JWT, so a short-lived connect token from `POST /v1/oauth/connect-token` is required. The token binds the calling user's identity and optional metadata (redirect URL, business ID) server-side. A browser (a request whose `Accept` header prefers `text/html`) that opens a missing, used, or expired link gets a short HTML page saying what happened and what to do next. The page's wording is not part of the contract. Other clients get JSON. **Host links.** A link from `POST /v1/hosts/{id}/connect-link` is emailed to a coach, and mail scanners open every link in an email. So a GET on a host link does not use it up: any client gets a `200` HTML page with a button. The button submits the token to `POST /v1/calendars/google/connect`, which uses the link and redirects to Google. Expired, used and missing host links behave as above.
Auth required: No
token (query, string) (required) — Single-use connect token: from `POST /v1/oauth/connect-token`
(expires after 5 minutes), or the `token` in a `connect_url` from
`POST /v1/hosts/{id}/connect-link` (expires after 7 days).
200: Landing page for a link from `POST /v1/hosts/{id}/connect-link`.
The link is not used up until the page's button is pressed.
302: Redirect to Google OAuth400: Missing, invalid, or expired connect tokenThis endpoint does not require authentication.
Base URL: https://api.vennio.app