v3
latestOpenAPI 3.1.02026-07-31121144224.9 KBSystem: OAuth
Oauth Callback
OAuth callback endpoint.
Provider redirects here after user authorizes. Exchanges code for tokens.
get/api/v1/oauth/{provider}/callback
Path parameters
provider'apple' | 'samsung' | 'garmin' | 'google' | 'polar' | 'suunto' | 'whoop' | 'strava' | 'oura' | 'fitbit' | 'ultrahuman' | 'sensorbio' | 'unknown' | 'internal' required
Supported data providers.
Query parameters
codestring nullable
Authorization code from provider
Authorization code from provider
statestring nullable
State parameter for CSRF protection
State parameter for CSRF protection
errorstring nullable
error_descriptionstring nullable
Response
Successful Response
{"stackTrail":"paths:/api/v1/oauth/{provider}/callback:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}