Thrive AI Health
Api reference

OAuth provider callback (path-suffixed) — proxy to Junction

Junction's documented BYOA `redirect_url_override` convention is `https://yourdomain.com/oauth_callback/{provider}` — provider as a path segment. This route matches that convention, which works with providers that strict-match redirect URIs without query params (WHOOP, Fitbit, etc.). The slug is injected into request.query_params before the shared proxy logic runs.

GET
/v1/devices/auth/callback/{provider_slug}

Path Parameters

provider_slug*Provider Slug

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/auth/callback/string"
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}