Skip to main content
GET
/
api
/
v1
/
oauth
/
{provider}
/
authorize
Get Provider Authorization URL
curl --request GET \
  --url https://api.example.com/api/v1/oauth/{provider}/authorize
{
  "authorization_url": "<string>",
  "state": "<string>"
}

Path Parameters

provider
enum<string>
required

Supported data providers.

Available options:
apple,
samsung,
google,
garmin,
polar,
suunto,
whoop,
strava,
oura,
fitbit,
ultrahuman,
unknown,
internal

Query Parameters

user_id
string<uuid>
required

User ID to connect

redirect_uri
string | null

Optional redirect URI after authorization

Response

Successful Response

Response containing authorization URL for user redirect.

authorization_url
string
required
state
string
required