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

# Count Inactive Prospects

> Returns how many prospects in the given scope have not posted on LinkedIn in the last 30 days. Nothing is modified: this is the preview of `delete-inactive` — for the same scope, this is the number of prospects that endpoint deletes. Scope: pass `campaignIds`, `listIds`, or both.



## OpenAPI

````yaml https://api.goextrovert.com/client/v2/docs-json post /client/v2/prospect-list/count-inactive
openapi: 3.1.0
info:
  title: Extrovert Client API
  description: >-
    Public API for Extrovert platform integration. Use your API key for
    authentication.
  version: '1.0'
  contact: {}
servers:
  - url: https://api.goextrovert.com/
    description: API Server
security: []
tags: []
paths:
  /client/v2/prospect-list/count-inactive:
    post:
      tags:
        - Prospects
      summary: Count Inactive Prospects
      description: >-
        Returns how many prospects in the given scope have not posted on
        LinkedIn in the last 30 days. Nothing is modified: this is the preview
        of `delete-inactive` — for the same scope, this is the number of
        prospects that endpoint deletes. Scope: pass `campaignIds`, `listIds`,
        or both.
      operationId: ProspectListClientApiController_countInactive
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CountInactiveRequestDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CountInactiveResponseDto'
        '401':
          description: Invalid or missing API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientApiErrorResponseDto'
        '403':
          description: No scope provided. Pass at least one of `campaignIds` or `listIds`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientApiErrorResponseDto'
      security:
        - api-key: []
components:
  schemas:
    CountInactiveRequestDto:
      type: object
      properties:
        campaignIds:
          type: array
          description: >-
            Optional campaign IDs. Non-empty restricts this dimension; omitted
            or `[]` does not. Non-empty `campaignIds` and `listIds` intersect.
            Omitting or emptying both targets all reachable Prospects campaigns
            in the selected workspace for an MCP user; an API key must provide
            explicit scope.
          items:
            type: string
            format: uuid
        listIds:
          type: array
          description: >-
            Optional prospect-list IDs. Non-empty restricts this dimension;
            omitted or `[]` does not. Non-empty `listIds` and `campaignIds`
            intersect. Omitting or emptying both targets all reachable Prospects
            campaigns in the selected workspace for an MCP user; an API key must
            provide explicit scope.
          items:
            type: string
            format: uuid
      description: >-
        Inactive means a non-deleted direct LEAD whose newest saved fetched-post
        date is over 30 days old, or with no saved post date after at least one
        successful fetch. Never-successfully-synced prospects are not confirmed
        inactive. Preview and delete must use the same scope; preview is a
        snapshot, not a reservation.
    CountInactiveResponseDto:
      type: object
      properties:
        status:
          type: string
          const: success
          description: Response status
        data:
          type: object
          properties:
            count:
              type: number
              description: >-
                Number of prospects in the requested scope that are currently
                inactive.
          required:
            - count
        message:
          type: string
          description: Success message
          examples:
            - Operation completed successfully
      required:
        - status
        - data
        - message
    ClientApiErrorResponseDto:
      type: object
      properties:
        status:
          type: string
          description: Response status
          example: error
          enum:
            - error
        data:
          type: object
          description: Response data
          example: null
          nullable: true
        message:
          type: string
          description: Error message
          example: An error occurred while processing the request
      required:
        - status
        - data
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: X-API-Key
      description: API Key for authentication

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.