External: Providers

Get Provider Authorization URL

Changed on

Initiate OAuth flow for a provider.

Returns authorization URL where user should be redirected to log in.

get/api/v1/oauth/{provider}/authorize

Request

  • Base URL: https://api.openwearables.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.openwearables.io/api/v1/oauth/{provider}/authorize
  • Auth: none declared

Path parameters

providerstring required

Query parameters

user_idstring uuid required

User ID to connect

redirect_uristring nullable

Optional redirect URI after authorization

Response

Successful Response

authorization_urlstring required
statestring required

Changes

    • breaking

      removed the enum value apple from the path request parameter provider

    • breaking

      removed the enum value fitbit from the path request parameter provider

    • breaking

      removed the enum value garmin from the path request parameter provider

    • breaking

      removed the enum value google from the path request parameter provider

    • breaking

      removed the enum value internal from the path request parameter provider

    • breaking

      removed the enum value oura from the path request parameter provider

    • breaking

      removed the enum value polar from the path request parameter provider

    • breaking

      removed the enum value samsung from the path request parameter provider

    • breaking

      removed the enum value sensorbio from the path request parameter provider

    • breaking

      removed the enum value strava from the path request parameter provider

    • breaking

      removed the enum value suunto from the path request parameter provider

    • breaking

      removed the enum value ultrahuman from the path request parameter provider

    • breaking

      removed the enum value unknown from the path request parameter provider

    • breaking

      removed the enum value whoop from the path request parameter provider

    • breaking

      removed the enum value withings from the path request parameter provider

    • info

      added the new enum value withings to the path request parameter provider