> ## 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 the contacts in a contacts list or contact search

> Page through the contacts a list holds. Works for both kinds: pass the id of a hand-built list (`kind: "regular"`) or of a saved contact search (`kind: "search"`) — a search's results are the same membership, so they read identically. Customer API keys read their own bound account; staff TAMTAM API keys must supply an explicit `account_id`.



## OpenAPI

````yaml /reference/openapi.yaml get /v2/contacts-lists/{contactsListID}/contacts
openapi: 3.1.0
info:
  title: Tamtam Public API
  version: 2.0.0
servers:
  - url: https://api.tamtam.ai/api
security: []
paths:
  /v2/contacts-lists/{contactsListID}/contacts:
    get:
      tags:
        - Contacts Lists
      summary: List the contacts in a contacts list or contact search
      description: >-
        Page through the contacts a list holds. Works for both kinds: pass the
        id of a hand-built list (`kind: "regular"`) or of a saved contact search
        (`kind: "search"`) — a search's results are the same membership, so they
        read identically. Customer API keys read their own bound account; staff
        TAMTAM API keys must supply an explicit `account_id`.
      operationId: list-contacts-list-contacts
      parameters:
        - description: Contacts list or contact search UUID
          in: path
          name: contactsListID
          required: true
          schema:
            description: Contacts list or contact search UUID
            type: string
        - description: Target account UUID. Required for staff; ignored for customer keys.
          explode: false
          in: query
          name: account_id
          schema:
            description: >-
              Target account UUID. Required for staff; ignored for customer
              keys.
            type: string
        - description: Maximum contacts to return
          explode: false
          in: query
          name: limit
          schema:
            default: 100
            description: Maximum contacts to return
            format: int64
            maximum: 250
            minimum: 1
            type: integer
        - description: Number of contacts to skip
          explode: false
          in: query
          name: offset
          schema:
            default: 0
            description: Number of contacts to skip
            format: int64
            minimum: 0
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListContactsListContactsOutputBody'
          description: OK
        default:
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Error
      security:
        - apikeyAuth: []
        - bearerAuth: []
components:
  schemas:
    ListContactsListContactsOutputBody:
      additionalProperties: false
      properties:
        contacts:
          items:
            $ref: '#/components/schemas/ContactsListEntryDto'
          type:
            - array
            - 'null'
        contacts_list_id:
          type: string
        limit:
          format: int64
          type: integer
        offset:
          format: int64
          type: integer
        total:
          description: >-
            Total contacts in the list, so a caller can tell a short page from
            the last one
          format: int64
          type: integer
      required:
        - contacts_list_id
        - contacts
        - total
        - limit
        - offset
      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
    ContactsListEntryDto:
      additionalProperties: false
      properties:
        added_to_list_at:
          format: date-time
          type: string
        company_linkedin_id:
          type: string
        company_name:
          type: string
        contact_id:
          type: string
        first_name:
          type: string
        job_title:
          type: string
        last_name:
          type: string
        linkedin_url:
          type: string
      required:
        - contact_id
        - added_to_list_at
      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

````