Skip to main content
POST
/
tools
/
connections
Connect tool
curl --request POST \
  --url https://www.dench.com/api/v1/tools/connections \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "toolkit": "string"
}
'
{
  "error": {
    "message": "<string>",
    "type": "<string>",
    "code": "<string>",
    "details": "<unknown>"
  }
}

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
required

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

Minimum string length: 1
callback_url
string

Optional OAuth callback URL.

Response

Successful response