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

# List connections

> Returns connections for the authenticated workspace.



## OpenAPI

````yaml https://api.bundleup.io/v1/openapi.yml get /connections
openapi: 3.1.0
info:
  title: BundleUp API
  description: >-
    REST API for managing integrations, connections, and webhooks in a BundleUp
    workspace.
  version: 1.0.0
  contact:
    name: BundleUp Support
    url: https://www.bundleup.io
    email: support@bundleup.io
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
servers:
  - url: https://api.bundleup.io/v1
    description: Production API
security:
  - bearerAuth: []
  - basicAuth: []
tags:
  - name: Integrations
    description: Integration discovery operations
  - name: Connections
    description: Connection management operations
  - name: Webhooks
    description: Webhook management operations
paths:
  /connections:
    get:
      tags:
        - Connections
      summary: List connections
      description: Returns connections for the authenticated workspace.
      parameters:
        - $ref: '#/components/parameters/Offset'
        - $ref: '#/components/parameters/Limit'
        - name: integration_id
          in: query
          description: Filter by integration ID.
          schema:
            type: string
        - name: integration_identifier
          in: query
          description: Filter by integration identifier.
          schema:
            type: string
        - name: external_id
          in: query
          description: Filter by external ID.
          schema:
            type: string
      responses:
        '200':
          description: Connections retrieved successfully.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Connection'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  parameters:
    Offset:
      name: offset
      in: query
      description: Number of items to skip.
      schema:
        type: integer
        minimum: 0
        maximum: 1000
        default: 0
    Limit:
      name: limit
      in: query
      description: Maximum number of items to return.
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 10
  schemas:
    Connection:
      type: object
      additionalProperties: false
      properties:
        id:
          type: string
          description: Connection identifier.
        external_id:
          type:
            - string
            - 'null'
          description: External system identifier.
        expires_at:
          type:
            - string
            - 'null'
          format: date-time
          description: Expiration timestamp for the access token.
        integration_id:
          type: string
          description: Integration ID associated with the connection.
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
      required:
        - id
        - external_id
        - expires_at
        - integration_id
        - created_at
        - updated_at
    ValidationErrorResponse:
      allOf:
        - $ref: '#/components/schemas/ErrorResponse'
        - type: object
          properties:
            errors:
              type: object
              additionalProperties:
                type: array
                items:
                  type: string
          required:
            - errors
    ErrorResponse:
      type: object
      additionalProperties: false
      properties:
        success:
          type: boolean
          const: false
        message:
          type: string
      required:
        - success
        - message
  responses:
    BadRequest:
      description: Invalid request payload or query parameters.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ValidationErrorResponse'
    Unauthorized:
      description: Missing or invalid API credentials.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: Pass the API key as a bearer token.
    basicAuth:
      type: http
      scheme: basic
      description: Pass any username and the API key as the password.

````