LynCutLynCut

Connections API

OAuth callback

Provider redirect target. Exchanges the auth code, stores encrypted tokens, then redirects to the app with a result flag.

GET/v1/connections/{provider}/callback

Path & query parameters

provider
stringrequired
The provider that initiated the flow.
code
string (query)required
Authorization code from the provider.
state
string (query)required
CSRF state issued by /connect.

Request

# Called by the provider — do not call directly
GET https://api.lyncut.com/v1/connections/youtube/callback?code=4/0Af...&state=st_2ka

Response

HTTP/2 302 Found
Location: https://app.lyncut.com/connections?connected=youtube

Was this page helpful?