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

# Get Lead Source Statistics

> Returns statistics for a specific lead source

Returns statistics for a specific lead source. This endpoint provides counts of new and contacted leads within the lead source, giving you insights into lead progression and engagement.


## OpenAPI

````yaml GET /lead-sources/{id}/stats
openapi: 3.0.1
info:
  title: Drippi Public API
  description: API for accessing Drippi automation and lead management data
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://app.drippi.ai/api/v1
    description: Production API server
security:
  - apiKeyAuth: []
paths:
  /lead-sources/{id}/stats:
    get:
      tags:
        - Lead Sources
      summary: Get lead source statistics
      description: Returns statistics for a specific lead source
      parameters:
        - name: id
          in: path
          description: Lead Source ID
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Successfully retrieved lead source statistics
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: success
                  stats:
                    $ref: '#/components/schemas/LeadSourceStats'
        '401':
          description: Unauthorized - Invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    LeadSourceStats:
      type: object
      properties:
        new:
          type: integer
          description: Number of new leads
        contacted:
          type: integer
          description: Number of contacted leads
    Error:
      type: object
      properties:
        status:
          type: string
          example: error
        message:
          type: string
          example: Something went wrong
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: API key for authentication

````