---
title: "GetSCMIntegration"
method: POST
path: "/gitpod.v1.RunnerConfigurationService/GetSCMIntegration"
tags: ["gitpod.v1.RunnerConfigurationService"]
---

# GetSCMIntegration

`POST /gitpod.v1.RunnerConfigurationService/GetSCMIntegration`

GetSCMIntegration returns a single SCM integration configured for a runner.

## Request body

- GitpodV1GetSCMIntegrationRequest
  - `id` string, uuid

## Response `200`

Success

- GitpodV1GetSCMIntegrationResponse
  - `integration` GitpodV1SCMIntegration
    - `host` string
    - `id` string — id is the unique identifier of the SCM integration
    - `oauth` GitpodV1SCMIntegrationOAuthConfig
      - `clientId` string — client_id is the OAuth app's client ID in clear text.
      - `encryptedClientSecret` string, byte — encrypted_client_secret is the OAuth app's secret encrypted with the runner's public key.
    - `pat` boolean
    - `runnerId` string
    - `scmId` string — scm_id references the scm_id in the runner's configuration schema that this integration is for

## Other responses

- `default` — Error

---

[API](https://skmtc.dev/gitpod-io/apis/gitpod-v1.md) · [All operations](https://skmtc.dev/gitpod-io/apis/gitpod-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gitpod-io/gitpod-v1/revisions/bef0e79f204c/schema)
