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

# Webhook Active Stats

> Returns analytics for active webhooks, including total count, average response time, and total hit count.



## OpenAPI

````yaml GET /v2/active-webhook-stats/
openapi: 3.1.0
info:
  title: CloserX.ai API
  description: >-
    The CloserX.ai API provides programmatic access to manage AI-powered calling
    operations, including agent creation, campaign management, contact handling,
    telephony integration, and more. This API enables seamless automation and
    integration with CRM systems, telephony providers, and other third-party
    services for enhanced client communication and business operations.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://app.closerx.ai/api
security:
  - api_key: []
paths:
  /v2/active-webhook-stats/:
    get:
      summary: Get Active Webhook Stats
      description: >-
        Returns analytics for active webhooks, including total count, average
        response time, and total hit count.
      parameters:
        - name: Company-Name
          in: header
          required: true
          description: Schema name for multi-tenancy
          schema:
            type: string
      responses:
        '200':
          description: Active webhook stats retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActiveWebhookStatsResponse'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    ActiveWebhookStatsResponse:
      type: object
      properties:
        active_webhooks_count:
          type: integer
          example: 16
          description: Total number of active webhooks
        average_response_time:
          type: number
          format: float
          example: 938.430755498023
          description: Average response time (in milliseconds) for the active webhooks
        total_hit_count:
          type: integer
          example: 179
          description: Total number of times all webhooks have been triggered
    Error:
      required:
        - success
        - message
        - data
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        data:
          type: object
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: api_key

````