Skip to main content
POST
Connect tool

Authorizations

Authorization
string
header
required

Workspace-scoped Dench API key from workspace settings. This is the same key used by DENCH_API_KEY in sandboxes.

Body

application/json
toolkit
string

Toolkit slug, e.g. github, gmail, stripe.

Minimum string length: 1
toolkit_slug
string
Minimum string length: 1
callback_url
string

Optional OAuth callback URL.

returnTo
string

Native OAuth return path within the workspace.

Response

Successful response

Connect-link response.

redirect_url
string

OAuth URL the user opens to finish connecting.

connection_id
string
redirectUrl
string
artifact
object
{key}
any