Skip to main content
GET
/
projects
/
{projectId}
/
integrations
Get list of existing integrations for a project
curl --request GET \
  --url {schemes}://api.upsun.com/projects/{projectId}/integrations \
  --header 'Authorization: Bearer <token>'
[
  {
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "type": "<string>",
    "role": "<string>",
    "fetch_branches": true,
    "prune_branches": true,
    "environment_init_resources": "default",
    "repository": "<string>",
    "build_pull_requests": true,
    "pull_requests_clone_parent_data": true,
    "pull_requests_max_pages": 123,
    "resync_pull_requests": true,
    "id": "<string>",
    "app_credentials": {
      "key": "<string>"
    },
    "addon_credentials": {
      "addon_key": "<string>",
      "client_key": "<string>"
    }
  }
]

Documentation Index

Fetch the complete documentation index at: https://developer.upsun.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

projectId
string
required

Response

default - application/json
created_at
string<date-time> | null
required

The creation date

updated_at
string<date-time> | null
required

The update date

type
string
required

The type of the integration

role
string
required

The role of the integration

fetch_branches
boolean
required

Whether or not to fetch branches

prune_branches
boolean
required

Whether or not to remove branches that disappeared remotely (requires fetch_branches)

environment_init_resources
enum<string>
required

The resources used when initializing a new service

Available options:
default,
manual,
minimum,
parent
repository
string
required

The Bitbucket repository (in the form user/repo)

build_pull_requests
boolean
required

Whether or not to build pull requests

pull_requests_clone_parent_data
boolean
required

Whether or not to clone parent data when building merge requests

pull_requests_max_pages
integer | null
required

Maximum number of Bitbucket pull request pages to iterate when syncing pull requests. Null means no limit

resync_pull_requests
boolean
required

Whether or not pull request environment data should be re-synced on every build

id
string

The identifier of BitbucketIntegration

app_credentials
OAuth2 consumer · object

The OAuth2 consumer information (optional)

addon_credentials
Addon credential · object

The addon credential information (optional)

Last modified on May 11, 2026