Connections

Connect Garmin Connect

The password is exchanged once for tokens and never stored. Sign-in attempts are rationed; nothing retries one on the athlete's behalf.

post/integrations/garmin/sign-in

Request

  • Base URL: https://bodylab.lol/api/v1
  • URL: https://bodylab.lol/api/v1/integrations/garmin/sign-in
  • Auth: HTTP bearer

Headers

X-Client-Platformstring

The native client's platform, e.g. ios. Server-side and non-native callers omit it.

X-Client-Versionstring

The native client's own semver version. With X-Client-Platform, a version below that platform's minimum is refused with CLIENT_UPGRADE_REQUIRED (426).

Request body

emailstring email required
passwordstring required

Response

OK

status'connected' | 'code_required' required

Changes

No recorded changes to this operation across all 1 revision of this API.