Authentication

Google Callback

Handle Google OAuth callback: exchange code -> tokens and persist refresh token. In popup mode, the callback returns a tiny HTML page that postMessages { type: 'google-calendar-connected', success: true|false } to the opener's origin (parsed from state) and immediately closes the popup. No redirects.

get/api/v3/auth/google/calendar/callback

Request

  • Base URL
    https://api.endless.health (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Query parameters

codestring required
statestring required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.