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

# List connected accounts for a customer

> Returns the customer's accounts in connected external systems (for example a Stripe customer or a HubSpot company), including the integration each link belongs to, the account's identifier in the external system, and a link to it where available. The `id` path parameter accepts the Alguna account ID, a customer alias, or a connected-account external ID (such as a Stripe customer ID).



## OpenAPI

````yaml /api-reference/v2/specs/2026-04-01.json get /customers/{id}/connected-accounts
openapi: 3.1.0
info:
  title: Alguna Public API
  version: '2026-04-01'
servers:
  - url: https://api.alguna.io
security:
  - bearerAuth: []
tags:
  - name: Billing Events and Metrics
  - name: Credit Notes
  - name: Customer Portal Sessions
  - name: Customers
  - name: Insights
  - name: Invoices
  - name: Payments
  - name: Plans
  - name: Product Bundles
  - name: Products
  - name: Refunds
  - name: Revenue Schedules
  - name: Subscription Changes
  - name: Subscription Versions
  - name: Subscriptions
  - name: Wallet Grants
  - name: Wallets
paths:
  /customers/{id}/connected-accounts:
    get:
      tags:
        - Customers
      summary: List connected accounts for a customer
      description: >-
        Returns the customer's accounts in connected external systems (for
        example a Stripe customer or a HubSpot company), including the
        integration each link belongs to, the account's identifier in the
        external system, and a link to it where available. The `id` path
        parameter accepts the Alguna account ID, a customer alias, or a
        connected-account external ID (such as a Stripe customer ID).
      operationId: list-customer-connected-accounts
      parameters:
        - in: header
          name: Alguna-Version
          required: true
          schema:
            enum:
              - '2026-04-01'
            type: string
        - in: path
          name: id
          required: true
          schema:
            description: Unique identifier for the customer
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectedAccountListResponse'
          description: Success
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unprocessable Entity
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
components:
  schemas:
    ConnectedAccountListResponse:
      properties:
        data:
          description: List of connected accounts
          items:
            $ref: '#/components/schemas/ConnectedAccountResponse'
          type: array
      required:
        - data
      type: object
    ErrorResponse:
      properties:
        detail:
          type: string
        status:
          format: int64
          type: integer
      required:
        - status
        - detail
      type: object
    ConnectedAccountResponse:
      properties:
        customer_id:
          description: Alguna customer ID the connected account belongs to
          example: cust_abc123
          type: string
        external_id:
          description: Identifier of the account in the external system
          example: cus_abc123
          type: string
        id:
          description: Unique identifier for the connected account link
          example: cacc_abc123
          type: string
        integration_id:
          description: Identifier of the integration the account is connected through
          example: intg_abc123
          type: string
      required:
        - customer_id
        - external_id
        - id
        - integration_id
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: API Key
      description: API key authentication. Pass your API key as a Bearer token.
      scheme: bearer
      type: http

````