> ## 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.

# List Connections

> Retrieves all connections for the specified Project. A Connection represents an authenticated link to an external data source (e.g., Stripe, Airtable, PostgreSQL).


<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}
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}:
    get:
      tags:
        - Connections
      summary: List Connections
      description: >
        Retrieves all connections for the specified Project. A Connection
        represents an authenticated link to an external data source (e.g.,
        Stripe, Airtable, PostgreSQL).
      operationId: listConnections
      parameters:
        - name: projectId
          in: path
          description: ID of the project
          required: true
          schema:
            type: string
          example: mtKDhe1U
      responses:
        '200':
          description: List of Connections
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Connection'
              examples:
                List Connections:
                  description: Sample List of Connections
                  value:
                    - id: c6883de8-78ab-49fb-93c0-70a13652a341
                      name: Stripe Code2
                      type: stripe
                    - id: 81e6dfd0-4c88-4e81-a28b-422e89cc07c7
                      name: airtable
                      type: airtable
                    - id: 8db17e23-29de-4dab-8886-af9717e0e742
                      name: airtable2
                      type: airtable
                    - id: 22706960-023c-411e-a3ac-62d286fa6685
                      name: exampleAirtableConnection
                      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

````