> ## 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 by ID

> Returns a specific lead source by its ID

Returns a specific lead source by its ID. Use this endpoint to retrieve detailed information about a particular lead source.


## OpenAPI

````yaml GET /lead-sources/{id}
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}:
    get:
      tags:
        - Lead Sources
      summary: Get lead source by ID
      description: Returns a specific lead source by its ID
      parameters:
        - name: id
          in: path
          description: Lead Source ID
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Successfully retrieved lead source
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: success
                  leadSource:
                    $ref: '#/components/schemas/LeadSource'
        '401':
          description: Unauthorized - Invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Lead source not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    LeadSource:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the lead source
        name:
          type: string
          description: Name of the lead source
        type:
          type: string
          description: Type of lead source (e.g., 'scraper', 'csv_import')
        createdAt:
          type: string
          format: date-time
          description: When the lead source was created
        totalLeads:
          type: integer
          description: Total number of leads in this source
    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

````