---
title: "Get information about an existing third-party integration"
method: GET
path: "/projects/{projectId}/integrations/{integrationId}"
tags: ["Third-Party Integrations"]
---

# Get information about an existing third-party integration

`GET /projects/{projectId}/integrations/{integrationId}`

## Path parameters

- `projectId` string, required
- `integrationId` string, required

## Response `default`

- union
  - BitbucketIntegration
    - `id` string — The identifier of BitbucketIntegration
    - `created_at` string, date-time, nullable, required — The creation date
    - `updated_at` string, date-time, nullable, required — The update date
    - `type` string, required
    - `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` 'default' | 'manual' | 'minimum' | 'parent', required — The resources used when initializing a new service
    - `app_credentials` object, nullable — The OAuth2 consumer information (optional).
      - `key` string, required — The OAuth consumer key.
    - `addon_credentials` object, nullable — The addon credential information (optional).
      - `addon_key` string, required — The addon key (public identifier).
      - `client_key` string, required — The client key (public identifier).
    - `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.
    - `resync_pull_requests` boolean, required — Whether or not pull request environment data should be re-synced on every build.
  - BitbucketServerIntegration
    - `id` string — The identifier of BitbucketServerIntegration
    - `created_at` string, date-time, nullable, required — The creation date
    - `updated_at` string, date-time, nullable, required — The update date
    - `type` string, required
    - `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` 'default' | 'manual' | 'minimum' | 'parent', required — The resources used when initializing a new service
    - `url` string, required — The base URL of the Bitbucket Server installation.
    - `username` string, required — The Bitbucket Server user.
    - `project` string, required — The Bitbucket Server project
    - `repository` string, required — The Bitbucket Server repository
    - `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.
  - BlackfireIntegration
    - `id` string — The identifier of BlackfireIntegration
    - `created_at` string, date-time, nullable, required — The creation date
    - `updated_at` string, date-time, nullable, required — The update date
    - `type` string, required
    - `environments_credentials` object, required — Blackfire environments credentials
    - `continuous_profiling` boolean, required — Whether continuous profiling is enabled for the project
  - FastlyIntegration
    - `id` string — The identifier of FastlyIntegration
    - `created_at` string, date-time, nullable, required — The creation date
    - `updated_at` string, date-time, nullable, required — The update date
    - `type` string, required
    - `events` string[], required — Events to execute the hook on
    - `environments` string[], required — The environments to execute the hook on
    - `excluded_environments` string[], required — The environments to not execute the hook on
    - `states` string[], required — Events to execute the hook on
    - `result` '*' | 'failure' | 'success', required — Result to execute the hook on
    - `service_id` string, required
  - GithubIntegration
    - `id` string — The identifier of GithubIntegration
    - `created_at` string, date-time, nullable, required — The creation date
    - `updated_at` string, date-time, nullable, required — The update date
    - `type` string, required
    - `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` 'default' | 'manual' | 'minimum' | 'parent', required — The resources used when initializing a new service
    - `base_url` string, nullable, required — The base URL of the Github API endpoint.
    - `repository` string, required — The GitHub repository (in the form `user/repo`).
    - `build_pull_requests` boolean, required — Whether or not to build pull requests.
    - `build_draft_pull_requests` boolean, required — Whether or not to build draft pull requests (requires `build_pull_requests`).
    - `build_pull_requests_post_merge` boolean, required — Whether to build pull requests post-merge (if true) or pre-merge (if false).
    - `pull_requests_clone_parent_data` boolean, required — Whether or not to clone parent data when building pull requests.
    - `token_type` 'classic_personal_token' | 'github_app', required — The type of the token of this GitHub integration
  - GitLabIntegration
    - `id` string — The identifier of GitLabIntegration
    - `created_at` string, date-time, nullable, required — The creation date
    - `updated_at` string, date-time, nullable, required — The update date
    - `type` string, required
    - `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` 'default' | 'manual' | 'minimum' | 'parent', required — The resources used when initializing a new service
    - `token_expires_at` string, date-time, nullable, required
    - `rotate_token` boolean, required
    - `rotate_token_validity_in_weeks` integer, required
    - `base_url` string, required — The base URL of the GitLab installation.
    - `project` string, required — The GitLab project (in the form `namespace/repo`).
    - `build_merge_requests` boolean, required — Whether or not to build merge requests.
    - `build_wip_merge_requests` boolean, required — Whether or not to build work in progress merge requests (requires `build_merge_requests`).
    - `merge_requests_clone_parent_data` boolean, required — Whether or not to clone parent data when building merge requests.
  - EmailIntegration
    - `id` string — The identifier of EmailIntegration
    - `created_at` string, date-time, nullable, required — The creation date
    - `updated_at` string, date-time, nullable, required — The update date
    - `type` string, required
    - `from_address` string, nullable, required — The email address to use
    - `recipients` string[], required — Recipients of the email
  - PagerDutyIntegration
    - `id` string — The identifier of PagerDutyIntegration
    - `created_at` string, date-time, nullable, required — The creation date
    - `updated_at` string, date-time, nullable, required — The update date
    - `type` string, required
    - `routing_key` string, required — The PagerDuty routing key
  - SlackIntegration
    - `id` string — The identifier of SlackIntegration
    - `created_at` string, date-time, nullable, required — The creation date
    - `updated_at` string, date-time, nullable, required — The update date
    - `type` string, required
    - `channel` string, required — The Slack channel to post messages to
  - HealthWebHookIntegration
    - `id` string — The identifier of HealthWebHookIntegration
    - `created_at` string, date-time, nullable, required — The creation date
    - `updated_at` string, date-time, nullable, required — The update date
    - `type` string, required
    - `url` string, required — The URL of the webhook
  - HttpLogIntegration
    - `id` string — The identifier of HttpLogIntegration
    - `created_at` string, date-time, nullable, required — The creation date
    - `updated_at` string, date-time, nullable, required — The update date
    - `type` string, required
    - `extra` object, required — Arbitrary key/value pairs to include with forwarded logs
    - `url` string, required
    - `headers` object, required — HTTP headers to use in POST requests
    - `tls_verify` boolean, required — Enable/Disable HTTPS certificate verification
    - `excluded_services` string[], required — Comma separated list of service and application names to exclude from logging
  - NewRelicIntegration
    - `id` string — The identifier of NewRelicIntegration
    - `created_at` string, date-time, nullable, required — The creation date
    - `updated_at` string, date-time, nullable, required — The update date
    - `type` string, required
    - `extra` object, required — Arbitrary key/value pairs to include with forwarded logs
    - `url` string, required
    - `tls_verify` boolean, required — Enable/Disable HTTPS certificate verification
    - `excluded_services` string[], required — Comma separated list of service and application names to exclude from logging
  - HttpLogIntegration
    - `id` string — The identifier of HttpLogIntegration
    - `created_at` string, date-time, nullable, required — The creation date
    - `updated_at` string, date-time, nullable, required — The update date
    - `type` string, required
    - `extra` object, required — Arbitrary key/value pairs to include with forwarded logs
    - `url` string, required
    - `headers` object, required — HTTP headers to use in POST requests
    - `tls_verify` boolean, required — Enable/Disable HTTPS certificate verification
    - `excluded_services` string[], required — Comma separated list of service and application names to exclude from logging
  - ScriptIntegration
    - `id` string — The identifier of ScriptIntegration
    - `created_at` string, date-time, nullable, required — The creation date
    - `updated_at` string, date-time, nullable, required — The update date
    - `type` string, required
    - `events` string[], required — Events to execute the hook on
    - `environments` string[], required — The environments to execute the hook on
    - `excluded_environments` string[], required — The environments to not execute the hook on
    - `states` string[], required — Events to execute the hook on
    - `result` '*' | 'failure' | 'success', required — Result to execute the hook on
    - `script` string, required — The script to run
  - SplunkIntegration
    - `id` string — The identifier of SplunkIntegration
    - `created_at` string, date-time, nullable, required — The creation date
    - `updated_at` string, date-time, nullable, required — The update date
    - `type` string, required
    - `extra` object, required — Arbitrary key/value pairs to include with forwarded logs
    - `url` string, required — The Splunk HTTP Event Connector REST API endpoint
    - `index` string, required — The Splunk Index
    - `sourcetype` string, required — The event 'sourcetype'
    - `tls_verify` boolean, required — Enable/Disable HTTPS certificate verification
    - `excluded_services` string[], required — Comma separated list of service and application names to exclude from logging
  - SumologicIntegration
    - `id` string — The identifier of SumologicIntegration
    - `created_at` string, date-time, nullable, required — The creation date
    - `updated_at` string, date-time, nullable, required — The update date
    - `type` string, required
    - `extra` object, required — Arbitrary key/value pairs to include with forwarded logs
    - `url` string, required
    - `category` string, required — The Category used to easy filtering (sent as X-Sumo-Category header)
    - `tls_verify` boolean, required — Enable/Disable HTTPS certificate verification
    - `excluded_services` string[], required — Comma separated list of service and application names to exclude from logging
  - SyslogIntegration
    - `id` string — The identifier of SyslogIntegration
    - `created_at` string, date-time, nullable, required — The creation date
    - `updated_at` string, date-time, nullable, required — The update date
    - `type` string, required
    - `extra` object, required — Arbitrary key/value pairs to include with forwarded logs
    - `host` string, required — Syslog relay/collector host
    - `port` integer, required — Syslog relay/collector port
    - `protocol` 'tcp' | 'tls' | 'udp', required — Transport protocol
    - `facility` integer, required — Syslog facility
    - `message_format` 'rfc3164' | 'rfc5424', required — Syslog message format
    - `tls_verify` boolean, required — Enable/Disable HTTPS certificate verification
    - `excluded_services` string[], required — Comma separated list of service and application names to exclude from logging
  - WebHookIntegration
    - `id` string — The identifier of WebHookIntegration
    - `created_at` string, date-time, nullable, required — The creation date
    - `updated_at` string, date-time, nullable, required — The update date
    - `type` string, required
    - `events` string[], required — Events to execute the hook on
    - `environments` string[], required — The environments to execute the hook on
    - `excluded_environments` string[], required — The environments to not execute the hook on
    - `states` string[], required — Events to execute the hook on
    - `result` '*' | 'failure' | 'success', required — Result to execute the hook on
    - `shared_key` string, nullable, required — The JWS shared secret key
    - `url` string, required — The URL of the webhook

---

[API](https://skmtc.net/upsun/apis/upsun-com-rest-api.md) · [All operations](https://skmtc.net/upsun/apis/upsun-com-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/upsun/upsun-com-rest-api/revisions/6cc88fde6435/schema)
