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

# List integration external accounts



## OpenAPI

````yaml /openapi/buyer.yaml get /api/v2/buyer/storefront-connections/{id}/accounts
openapi: 3.1.0
info:
  title: Semicola Exchange buyer API
  version: 2.0.0
  description: >-
    Buyer endpoints: advertisers, storefronts and connections, product
    discovery, campaigns, proposals, media buys, creatives and reporting. Every
    write accepts an Idempotency-Key header.
servers:
  - url: https://api.semicola.com
security:
  - bearerAuth: []
  - sessionCookie: []
tags:
  - name: Advertisers
  - name: Storefronts
  - name: Product Discovery
  - name: Campaigns
  - name: Media Buys
  - name: Update Proposals
  - name: Optimization Suggestions
  - name: Creatives
  - name: Catalogs
  - name: Property Lists
  - name: Audiences
  - name: Reporting
  - name: Event Sources
  - name: Webhooks
  - name: Tasks
  - name: Audit Logs
  - name: Activity
paths:
  /api/v2/buyer/storefront-connections/{id}/accounts:
    get:
      tags:
        - Storefronts
      summary: List integration external accounts
      operationId: getBuyerStorefrontConnectionsByIdAccounts
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            minLength: 1
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    anyOf:
                      - type: object
                        properties:
                          items:
                            type: array
                            items:
                              type: object
                              properties:
                                id:
                                  type: integer
                                  exclusiveMinimum: 0
                                  maximum: 9007199254740991
                                connectionId:
                                  type: string
                                externalAccountId:
                                  type: string
                                name:
                                  type:
                                    - string
                                    - 'null'
                                status:
                                  type: string
                                  enum:
                                    - PENDING
                                    - ACTIVE
                                    - DISABLED
                                    - ERROR
                                currency:
                                  type:
                                    - string
                                    - 'null'
                                mappedAdvertisers:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      advertiserId:
                                        type: integer
                                        exclusiveMinimum: 0
                                        maximum: 9007199254740991
                                      advertiserName:
                                        type: string
                                      unreachableAt:
                                        type:
                                          - string
                                          - 'null'
                                    required:
                                      - advertiserId
                                      - advertiserName
                                      - unreachableAt
                                    additionalProperties: false
                                enhancedReporting:
                                  type: object
                                  properties:
                                    eligible:
                                      type: boolean
                                    canEnable:
                                      type: boolean
                                    enabled:
                                      type: boolean
                                    activatedAt:
                                      type:
                                        - string
                                        - 'null'
                                    disabledAt:
                                      type:
                                        - string
                                        - 'null'
                                    billingCustomerId:
                                      anyOf:
                                        - type: integer
                                          exclusiveMinimum: 0
                                          maximum: 9007199254740991
                                        - type: 'null'
                                  required:
                                    - eligible
                                    - enabled
                                    - activatedAt
                                    - disabledAt
                                    - billingCustomerId
                                  additionalProperties: false
                                campaignRollup:
                                  type: object
                                  properties:
                                    campaignsTracked:
                                      type: integer
                                      minimum: 0
                                      maximum: 9007199254740991
                                    campaignsActive:
                                      type: integer
                                      minimum: 0
                                      maximum: 9007199254740991
                                    trackedSpend:
                                      type: number
                                      minimum: 0
                                    managedSpend:
                                      type: number
                                      minimum: 0
                                    managedShare:
                                      anyOf:
                                        - type: number
                                          minimum: 0
                                          maximum: 1
                                        - type: 'null'
                                    currency:
                                      type: string
                                    windowDays:
                                      type: integer
                                      exclusiveMinimum: 0
                                      maximum: 9007199254740991
                                  required:
                                    - campaignsTracked
                                    - campaignsActive
                                    - trackedSpend
                                    - managedSpend
                                    - managedShare
                                    - currency
                                    - windowDays
                                  additionalProperties: false
                              required:
                                - id
                                - connectionId
                                - externalAccountId
                                - name
                                - status
                                - currency
                                - mappedAdvertisers
                              additionalProperties: false
                        required:
                          - items
                        additionalProperties: false
                      - type: 'null'
                  error:
                    anyOf:
                      - type: object
                        properties:
                          code:
                            type: string
                          message:
                            type: string
                          field:
                            type: string
                          details: {}
                        required:
                          - code
                          - message
                        additionalProperties: false
                      - type: 'null'
                required:
                  - data
                  - error
                additionalProperties: false
        default:
          description: >-
            Error envelope `{data: null, error: {code, message, field?,
            details?}}`.
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key or OAuth access token.
    sessionCookie:
      type: apiKey
      in: cookie
      name: sc_session

````