Thrive AI Health
Api reference

OAuth authorization URL for a provider

Returns the URL to redirect the member to. The partner client navigates the member to `oauth_url`; on consent, the provider redirects back to the partner-registered redirect URI. The `link_token` query param ties the authorization to the in-flight link request. Provider OAuth credentials are managed internally by Thrive AI (not partner-supplied); failures here indicate a Junction-side configuration issue rather than a missing partner setup step.

GET
/v1/devices/{provider_slug}/oauth-url

Path Parameters

provider_slug*Provider Slug

Query Parameters

link_token*Link Token

Header Parameters

org-id?string|null
x-user-id?string|null
x-request-id?string|null
traceparent?string|null
Idempotency-Key?|null

Response Body

application/json

application/json

curl -X GET "https://loading/v1/devices/string/oauth-url?link_token=string"
{
  "data": {
    "oauth_url": "string"
  }
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}