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

# List Key Accounts

> List the companies currently in the account's Key Accounts, with basic LinkedIn company fields.

Results are deduplicated across all users in the account and ordered by most-recently added/updated first.



## OpenAPI

````yaml /reference/openapi.yaml get /v2/key-accounts
openapi: 3.1.0
info:
  title: Tamtam Public API
  version: 2.0.0
servers:
  - url: https://api.tamtam.ai/api
security: []
paths:
  /v2/key-accounts:
    get:
      tags:
        - Key Accounts
      summary: List Key Accounts
      description: >-
        List the companies currently in the account's Key Accounts, with basic
        LinkedIn company fields.


        Results are deduplicated across all users in the account and ordered by
        most-recently added/updated first.
      operationId: list-key-accounts
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListKeyAccountsResponseDto'
          description: OK
        default:
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Error
      security:
        - apikeyAuth: []
        - bearerAuth: []
components:
  schemas:
    ListKeyAccountsResponseDto:
      additionalProperties: false
      properties:
        companies:
          description: >-
            Companies currently in the account's Key Accounts, ordered by
            most-recently added/updated first.
          items:
            $ref: '#/components/schemas/KeyAccountCompanyDto'
          type:
            - array
            - 'null'
      required:
        - companies
      type: object
    ErrorModel:
      additionalProperties: false
      properties:
        detail:
          description: >-
            A human-readable explanation specific to this occurrence of the
            problem.
          examples:
            - Property foo is required but is missing.
          type: string
        errors:
          description: Optional list of individual error details
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type:
            - array
            - 'null'
        instance:
          description: >-
            A URI reference that identifies the specific occurrence of the
            problem.
          examples:
            - https://example.com/error-log/abc123
          format: uri
          type: string
        status:
          description: HTTP status code
          examples:
            - 400
          format: int64
          type: integer
        title:
          description: >-
            A short, human-readable summary of the problem type. This value
            should not change between occurrences of the error.
          examples:
            - Bad Request
          type: string
        type:
          default: about:blank
          description: A URI reference to human-readable documentation for the error.
          examples:
            - https://example.com/errors/example
          format: uri
          type: string
      type: object
    KeyAccountCompanyDto:
      additionalProperties: false
      properties:
        domain:
          description: Primary website domain. Empty string when unknown.
          examples:
            - tamtam.ai
          type: string
        employees_on_linkedin:
          description: Number of employees the company has on LinkedIn. 0 when unknown.
          examples:
            - 42
          format: int32
          type: integer
        followed_at:
          description: >-
            Timestamp at which the company was last added/updated in Key
            Accounts (most-recent across all users in the account).
          format: date-time
          type: string
        hq_country:
          description: 2-letter country code of the company HQ. Empty string when unknown.
          examples:
            - FR
          type: string
        industry:
          description: Industry as reported on LinkedIn. Empty string when unknown.
          examples:
            - Software Development
          type: string
        linkedin_id:
          description: LinkedIn numeric ID of the company.
          examples:
            - '104924588'
          type: string
        linkedin_slug:
          description: >-
            Slug used in the company's LinkedIn URL
            (https://www.linkedin.com/company/{slug}).
          examples:
            - tamtam-ai
          type: string
        logo_url:
          description: URL of the company logo. Empty string when unknown.
          type: string
        name:
          description: Company name.
          examples:
            - Tamtam
          type: string
      required:
        - linkedin_id
        - name
        - domain
        - linkedin_slug
        - hq_country
        - industry
        - logo_url
        - employees_on_linkedin
      type: object
    ErrorDetail:
      additionalProperties: false
      properties:
        location:
          description: >-
            Where the error occurred, e.g. 'body.items[3].tags' or
            'path.thing-id'
          type: string
        message:
          description: Error message text
          type: string
        value:
          description: The value at the given location
      type: object
  securitySchemes:
    apikeyAuth:
      description: Account API key passed in the Authorization header
      in: header
      name: Authorization
      type: apiKey
    bearerAuth:
      description: Bearer JWT obtained via the OAuth 2.1 authorization flow
      scheme: bearer
      type: http

````