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

# Get webhook delivery stats

> Get delivery statistics for a webhook subscription.



## OpenAPI

````yaml /public_openapi.json get /api/public/v1/webhooks/{webhook_id}/stats
openapi: 3.0.3
info:
  title: ColdSend Public API
  description: >-
    Programmatic access to ColdSend for managing cold email campaigns and sender
    accounts.
  version: 1.0.0
  contact:
    name: ColdSend Support
    email: support@coldsend.pro
    url: https://coldsend.pro
servers:
  - url: https://api.coldsend.pro
    description: Production
security:
  - ApiKeyAuth: []
paths:
  /api/public/v1/webhooks/{webhook_id}/stats:
    get:
      tags:
        - Webhooks
      summary: Get webhook delivery stats
      description: Get delivery statistics for a webhook subscription.
      operationId: get_webhook_stats_api_public_v1_webhooks__webhook_id__stats_get
      parameters:
        - name: webhook_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Webhook Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookStatsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    WebhookStatsResponse:
      properties:
        subscription_id:
          type: string
          format: uuid
          title: Subscription Id
        total_deliveries:
          type: integer
          title: Total Deliveries
        succeeded:
          type: integer
          title: Succeeded
        failed:
          type: integer
          title: Failed
        dead:
          type: integer
          title: Dead
        success_rate:
          type: number
          title: Success Rate
          description: Percentage of successful deliveries (0-100)
        failure_rate:
          type: number
          title: Failure Rate
          description: Percentage of failed deliveries (0-100)
        avg_response_time_ms:
          type: number
          nullable: true
          title: Avg Response Time Ms
          description: Average response time in milliseconds
        last_delivery_at:
          type: string
          format: date-time
          nullable: true
          title: Last Delivery At
        active:
          type: boolean
          title: Active
          description: Whether the subscription is currently active
      type: object
      required:
        - subscription_id
        - total_deliveries
        - succeeded
        - failed
        - dead
        - success_rate
        - failure_rate
        - active
      title: WebhookStatsResponse
      description: Webhook subscription delivery statistics.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key with format cs_live_xxx

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.