> ## 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 external account mappings



## OpenAPI

````yaml /openapi/buyer.yaml get /api/v2/buyer/storefront-connection-account-mappings
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: Syndication
  - name: Reporting
  - name: Event Sources
  - name: Webhooks
  - name: Tasks
  - name: Audit Logs
  - name: Activity
paths:
  /api/v2/buyer/storefront-connection-account-mappings:
    get:
      tags:
        - Storefronts
      summary: List external account mappings
      operationId: getBuyerStorefrontConnectionAccountMappings
      parameters:
        - name: search
          in: query
          required: false
          schema:
            type: string
            maxLength: 200
        - name: provider
          in: query
          required: false
          schema:
            type: string
            maxLength: 100
        - name: advertiserId
          in: query
          required: false
          schema:
            type: integer
            exclusiveMinimum: 0
            maximum: 9007199254740991
        - name: storefrontId
          in: query
          required: false
          schema:
            type: integer
            exclusiveMinimum: 0
            maximum: 9007199254740991
        - name: connectionId
          in: query
          required: false
          schema:
            type: string
            maxLength: 100
        - name: mappingStatus
          in: query
          required: false
          schema:
            default: all
            type: string
            enum:
              - all
              - mapped
              - unmapped
              - unreachable
        - name: limit
          in: query
          required: false
          schema:
            default: 50
            type: integer
            minimum: 1
            maximum: 200
        - name: offset
          in: query
          required: false
          schema:
            default: 0
            type: integer
            minimum: 0
            maximum: 9007199254740991
      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: string
                                connectionId:
                                  type: string
                                accountId:
                                  type: string
                                sourceId:
                                  type: string
                                sourceName:
                                  type: string
                                agentId:
                                  type: string
                                storefrontId:
                                  type: string
                                providerType:
                                  type: string
                                providerDisplayName:
                                  type: string
                                connectionName:
                                  type: string
                                accountName:
                                  type: string
                                externalAccountId:
                                  type: string
                                selected:
                                  type: boolean
                                status:
                                  type: string
                                  enum:
                                    - PENDING
                                    - ACTIVE
                                    - DISABLED
                                    - ERROR
                                accountType:
                                  type:
                                    - string
                                    - 'null'
                                parentExternalId:
                                  type:
                                    - string
                                    - 'null'
                                parentName:
                                  type:
                                    - string
                                    - 'null'
                                mappedAdvertisers:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      linkId:
                                        type: string
                                      sourceId:
                                        type: string
                                      sourceName:
                                        type: string
                                      agentId:
                                        type: string
                                      advertiserId:
                                        type: string
                                      advertiserName:
                                        type: string
                                      unreachableAt:
                                        type:
                                          - string
                                          - 'null'
                                    required:
                                      - linkId
                                      - sourceId
                                      - sourceName
                                      - agentId
                                      - advertiserId
                                      - advertiserName
                                      - unreachableAt
                                    additionalProperties: false
                                updatedAt:
                                  type: string
                              required:
                                - id
                                - connectionId
                                - accountId
                                - sourceId
                                - sourceName
                                - agentId
                                - storefrontId
                                - providerType
                                - providerDisplayName
                                - connectionName
                                - accountName
                                - externalAccountId
                                - selected
                                - status
                                - accountType
                                - parentExternalId
                                - parentName
                                - mappedAdvertisers
                                - updatedAt
                              additionalProperties: false
                          total:
                            type: integer
                            minimum: 0
                            maximum: 9007199254740991
                          hasMore:
                            type: boolean
                          nextOffset:
                            anyOf:
                              - type: integer
                                minimum: 0
                                maximum: 9007199254740991
                              - type: 'null'
                        required:
                          - items
                          - total
                          - hasMore
                          - nextOffset
                        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

````