gateway

Connect tool

Create a tool OAuth connection link. Slack is in-house, never a third-party connection: for toolkit slack the CLI prints the first-party install URL (/api/slack/install?slug=<workspace>, org admin) instead of calling this endpoint.

post/tools/connections

Request

  • Base URL
    https://www.dench.com/api/v1
  • Auth
    • HTTP bearer
    • or HTTP bearer

Request body

toolkitstring

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

toolkit_slugstring
callback_urlstring

Optional OAuth callback URL.

returnTostring

Native OAuth return path within the workspace.

Response

Successful response

redirect_urlstring

OAuth URL the user opens to finish connecting.

connection_idstring
redirectUrlstring
linkstring

Changes

No recorded changes to this operation across all 1 revision of this API.