Google OAuth redirect target
Called by Google's consent screen in the browser, not by apps. Redirects back to the app.
Query Parameters
state*State
code?string|null
error?string|null
Response Body
application/json
application/json
curl -X GET "https://example.com/api/v1/google-health/callback?state=string"null{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}Disconnect Fitbit / Pixel Watch DELETE
Revokes Avycenna's access at Google and deletes the stored tokens. Already-synced data is kept.
Sync Fitbit / Pixel Watch data now POST
Pulls new ECG recordings (classification + raw waveform), irregular rhythm notifications, and daily resting heart rate, HRV and SpO2 since the last sync (first sync: the last 30 days). Idempotent.