---
title: "OAuth redirect URI (browser only)"
method: GET
path: "/v1/file-imports/oauth/{provider}/callback"
tags: ["File imports"]
---

# OAuth redirect URI (browser only)

`GET /v1/file-imports/oauth/{provider}/callback`

## Request

- Base URL: `https://shareout.site`
- URL: `https://shareout.site/v1/file-imports/oauth/{provider}/callback`
- Auth: HTTP bearer

Signed state + PKCE; the session user must be the user who started the flow. Returns an HTML page.

## Response `200`

Connected (HTML)

## Other responses

- `400`: Refused or expired (HTML)

## Changes

- **2026-10-17** `a43d748cfdda`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/shareout/apis/shareout-rest-api/changes/v1/file-imports/oauth/:provider/callback/get.md)

---

[API](https://skmtc.dev/shareout/apis/shareout-rest-api.md) - [All operations](https://skmtc.dev/shareout/apis/shareout-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shareout/apis/shareout-rest-api/revisions/1e3f7fd34f6d?raw)
