staqlydocs
REST APIAPI referenceChannels

Finish connecting an OAuth platform started from a connect link

Finish connecting an OAuth platform started from a connect link (no credentials)

Every request sends Authorization: Bearer ...: the access token in local mode, an API key stk_... in cloud mode. Use Send to try it against your cloud instance with your API key.

GET
/v1/connect-links/oauth/{provider}/callback

The dashboard's /channels/callback/{provider} page forwards the platform's answer here when the state belongs to a link. Redirects to the dashboard's /add-channel page with ?connected=<handle>&workspace=<name> or ?error=<message>, the link's token in the fragment.

Path Parameters

provider*string

Query Parameters

code?string
state?string
error?string
error_description?string

Response Body

Redirect to the dashboard's /add-channel page

response?stringtext/html
curl -X GET 'https://staqly.example.com/v1/connect-links/oauth/string/callback'
"string"