> ## Documentation Index
> Fetch the complete documentation index at: https://productlane.mintlify.site/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get GitHub connection

> Report whether the GitHub app is installed and list the repositories it can reach. Requires the admin scope.



## OpenAPI

````yaml openapi-v2.json get /integrations/github
openapi: 3.0.3
info:
  title: Productlane API
  description: Productlane API v2.
  version: 2.0.0
servers:
  - url: https://productlane.com/api/v2
security: []
paths:
  /integrations/github:
    get:
      tags:
        - integrations
      summary: Get GitHub connection
      description: >-
        Report whether the GitHub app is installed and list the repositories it
        can reach. Requires the admin scope.
      operationId: integrations-getGithub
      parameters: []
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  connected:
                    type: boolean
                  repositories:
                    type: array
                    items:
                      type: string
                required:
                  - connected
                  - repositories
                additionalProperties: false
        default:
          $ref: '#/components/responses/error'
      security:
        - Authorization: []
components:
  responses:
    error:
      description: Error response
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
              code:
                type: string
              issues:
                type: array
                items:
                  type: object
                  properties:
                    message:
                      type: string
                  required:
                    - message
                  additionalProperties: false
            required:
              - message
              - code
            additionalProperties: false
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.