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

# Get the list of statistics for a campaign by ID.




## OpenAPI

````yaml /openapi/chat-client.yaml get /whatsapp/campaigns/{id}/statistics
openapi: 3.0.3
info:
  version: 1.0.0
  title: HealviChat Client API
servers:
  - url: https://{tenant_domain}/third-party/v1
    variables:
      tenant_domain:
        default: your-tenant.onhealvi.com
        description: Your tenant domain
security:
  - bearerAuth: []
paths:
  /whatsapp/campaigns/{id}/statistics:
    get:
      tags:
        - whatsapp
      summary: |
        Get the list of statistics for a campaign by ID.
      parameters:
        - in: path
          name: id
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/WhatsappCampaignStatistics'
components:
  schemas:
    WhatsappCampaignStatistics:
      description: Statistics of a WhatsApp campaign. Fetched hourly.
      type: object
      properties:
        id:
          type: integer
        campaign_id:
          type: integer
        datetime:
          type: string
          format: date-time
          example: '2023-01-01T12:00:00Z'
        recipients_count:
          type: integer
        to_send_count:
          type: integer
        to_send_percent:
          type: number
        sent_count:
          type: integer
        sent_percent:
          type: number
        delivered_count:
          type: integer
        delivered_percent:
          type: number
        read_count:
          type: integer
        read_percent:
          type: number
        error_count:
          type: integer
        error_percent:
          type: number
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````