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

# Get Campaign Analytics

> Returns analytics for a specific campaign

## Overview

Returns analytics for a specific campaign. You can filter by date range to see campaign performance over time.


## OpenAPI

````yaml GET /v1/campaigns/{campaignId}/analytics
openapi: 3.1.0
info:
  title: WaLead API
  description: >-
    WaLead Public API for managing LinkedIn outreach campaigns, leads, and
    analytics
  version: 1.0.0
  contact:
    name: WaLead Support
    url: https://walead.ai
servers:
  - url: https://app-api.walead.ai/api
    description: Production server
security:
  - apiKeyAuth: []
paths:
  /v1/campaigns/{campaignId}/analytics:
    get:
      summary: Get Campaign Analytics
      description: Returns analytics for a specific campaign
      parameters:
        - name: campaignId
          in: path
          description: Campaign ID
          required: true
          schema:
            type: string
        - name: date
          in: query
          description: Start date filter (ISO 8601 format)
          schema:
            type: string
            format: date
        - name: dateEnd
          in: query
          description: End date filter (ISO 8601 format)
          schema:
            type: string
            format: date
      responses:
        '200':
          description: Campaign analytics retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CampaignAnalytics'
        '401':
          description: Unauthorized - Invalid API Key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    CampaignAnalytics:
      type: object
      description: Campaign-specific analytics
    Error:
      type: object
      required:
        - statusCode
        - message
      properties:
        statusCode:
          type: integer
          description: HTTP status code
        message:
          type: string
          description: Error message
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: API key for authentication. Generate from your WaLead dashboard.

````