Skip to content

Bitbucket ​

Manage repositories, pull requests, and pipelines on Bitbucket Cloud.

DetailValue
CategoryDev Tools
Base URLhttps://api.bitbucket.org/2.0
AuthenticationBearer Token
Endpoints5
Connector keybitbucket

Using Bitbucket in a workflow ​

  1. Go to Connections and click New Connection.
  2. Pick Bitbucket from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown — see the table below.

Available Endpoints ​

EndpointSummary
GET /repositories/{workspace}List repositories in a workspace
GET /repositories/{workspace}/{repo_slug}Get a repository
GET /repositories/{workspace}/{repo_slug}/pullrequestsList pull requests
GET /repositories/{workspace}/{repo_slug}/pipelinesList pipelines
GET /repositories/{workspace}/{repo_slug}/commitsList commits

Each endpoint has its own page with parameter details, an example API Call node configuration, and the response shape.