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

# Get Connection

> Returns details of a specified Connection.


<span style={{display: "flex", gap: "10px", flexDirection: "row", alignItems: "center"}}>
  <img src="https://cdn.peaka.com/badges/partner-api-key-badge.png" />

  <img src="https://cdn.peaka.com/badges/project-api-key-badge.png" />
</span>


## OpenAPI

````yaml get /connections/{projectId}/{connectionId}
openapi: 3.0.1
info:
  title: Peaka Gateway API
  description: Peaka Gateway API Documentation
  version: '1.0'
servers:
  - url: https://partner.peaka.studio/api/v1
    description: Default Server URL (US Zone)
  - url: https://partner.eu.peaka.studio/api/v1
    description: EU Zone
security:
  - bearerAuth: []
paths:
  /connections/{projectId}/{connectionId}:
    get:
      tags:
        - Connections
      summary: Get Connection
      description: |
        Returns details of a specified Connection.
      operationId: getConnection
      parameters:
        - name: projectId
          in: path
          description: ID of the project
          required: true
          schema:
            type: string
          example: mtKDhe1U
        - name: connectionId
          in: path
          description: ID of the connection
          required: true
          schema:
            type: string
          example: 8db17e23-29de-4dab-8886-af9717e0e742
      responses:
        '200':
          description: Get Connection by ID
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Connection'
              examples:
                Airtable Connection:
                  description: Sample Airtable Connection
                  value:
                    id: 8db17e23-29de-4dab-8886-af9717e0e742
                    name: airtable2
                    type: airtable
components:
  schemas:
    Connection:
      type: object
      properties:
        id:
          type: string
          description: Connection ID
        name:
          type: string
          description: Name of the connection
        type:
          type: string
          description: >
            Type of connection.


            Example: airtable for AirTable, stripe for Stripe,
            hubspot_access_token for HubSpot (with Access Token), etc.


            Exact list can be fetched by following url: /connections/config
        url:
          type: string
          description: |
            Oauth callback url if the connection is Oauth based.
  securitySchemes:
    bearerAuth:
      type: http
      description: >-
        Use the Authorization header with the value 'Bearer <apiKey>' to
        authenticate. Partner API Keys have full access; Project API Keys are
        limited to their project scope. Learn more:
        https://docs.peaka.com/api-reference/authentication
      scheme: bearer
      bearerFormat: Api Key

````