Connections

Start connecting Oura

Returns Oura's authorization page to send the athlete to. Oura sends them back to Body Lab's callback with a code for ouraComplete; the link expires after 10 minutes, and starting again replaces it.

post/integrations/oura/authorize

Request

  • Base URL: https://bodylab.lol/api/v1
  • URL: https://bodylab.lol/api/v1/integrations/oura/authorize
  • 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

returnTo'settings' | 'onboarding'

The page the callback lands on with the link's outcome: Settings → Integrations, or onboarding's connect step.

Response

OK

urlstring uri required

Oura's authorization page.

Changes

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