---
updatedAt: 2026-04-20T23:02:19.000Z
agentTools:
  projectIndex: https://developer.vinoshipper.com/llms.txt
---

# /api/v3/p/profile/webhooks/{webhookId}/stats

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Vinoshipper API Docs",
    "version": "3.0",
    "x-logo": {
      "url": "/static/img/brand/vinoshipper-logo.svg"
    }
  },
  "servers": [
    {
      "url": "https://vinoshipper.com"
    }
  ],
  "tags": [
    {
      "name": "Manage Webhooks",
      "description": "Create and update webhooks to be notified of order & customer events"
    }
  ],
  "paths": {
    "/api/v3/p/profile/webhooks/{webhookId}/stats": {
      "get": {
        "tags": [
          "Manage Webhooks"
        ],
        "operationId": "getStats-9KAYMoo",
        "parameters": [
          {
            "name": "webhookId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Operation successful",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookStats"
                }
              }
            }
          },
          "400": {
            "description": "Request has failed validation",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Authentication failed"
          },
          "403": {
            "description": "Insufficient permission",
            "content": {}
          },
          "404": {
            "description": "Not Found"
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "BasicAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "Error": {
        "required": [
          "code",
          "description"
        ],
        "type": "object",
        "properties": {
          "description": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "field": {
            "type": "string"
          },
          "shortDescription": {
            "type": "string"
          }
        }
      },
      "ErrorDetails": {
        "required": [
          "status",
          "type"
        ],
        "type": "object",
        "properties": {
          "status": {
            "type": "integer",
            "format": "int32"
          },
          "type": {
            "type": "string",
            "enum": [
              "VALIDATION",
              "COMPLIANCE",
              "PAYMENT_FAILURE",
              "SERVER_ERROR",
              "ACCESS_DENIED",
              "CONFLICT"
            ]
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "ErrorResponse": {
        "required": [
          "error"
        ],
        "type": "object",
        "properties": {
          "error": {
            "$ref": "#/components/schemas/ErrorDetails"
          }
        }
      },
      "WebhookChartDeliveries": {
        "required": [
          "failed",
          "total"
        ],
        "type": "object",
        "properties": {
          "total": {
            "type": "integer",
            "description": "Total number of deliveries",
            "format": "int32"
          },
          "failed": {
            "type": "integer",
            "description": "Number of failed deliveries",
            "format": "int32"
          },
          "series": {
            "type": "array",
            "description": "Time series of successful deliveries [[timestamp, count], ...]",
            "items": {
              "type": "array",
              "description": "Time series of successful deliveries [[timestamp, count], ...]",
              "items": {
                "type": "integer",
                "description": "Time series of successful deliveries [[timestamp, count], ...]",
                "format": "int64"
              }
            }
          },
          "failedSeries": {
            "type": "array",
            "description": "Time series of failed deliveries [[timestamp, count], ...]",
            "items": {
              "type": "array",
              "description": "Time series of failed deliveries [[timestamp, count], ...]",
              "items": {
                "type": "integer",
                "description": "Time series of failed deliveries [[timestamp, count], ...]",
                "format": "int64"
              }
            }
          }
        },
        "description": "Chart data for event deliveries"
      },
      "WebhookChartResponseTime": {
        "required": [
          "avg",
          "max",
          "min"
        ],
        "type": "object",
        "properties": {
          "min": {
            "type": "integer",
            "description": "Minimum response time in ms",
            "format": "int64"
          },
          "avg": {
            "type": "integer",
            "description": "Average response time in ms",
            "format": "int64"
          },
          "max": {
            "type": "integer",
            "description": "Maximum response time in ms",
            "format": "int64"
          },
          "minSeries": {
            "type": "array",
            "description": "Time series of minimum response times [[timestamp, ms], ...]",
            "items": {
              "type": "array",
              "description": "Time series of minimum response times [[timestamp, ms], ...]",
              "items": {
                "type": "integer",
                "description": "Time series of minimum response times [[timestamp, ms], ...]",
                "format": "int64"
              }
            }
          },
          "avgSeries": {
            "type": "array",
            "description": "Time series of average response times [[timestamp, ms], ...]",
            "items": {
              "type": "array",
              "description": "Time series of average response times [[timestamp, ms], ...]",
              "items": {
                "type": "integer",
                "description": "Time series of average response times [[timestamp, ms], ...]",
                "format": "int64"
              }
            }
          },
          "maxSeries": {
            "type": "array",
            "description": "Time series of maximum response times [[timestamp, ms], ...]",
            "items": {
              "type": "array",
              "description": "Time series of maximum response times [[timestamp, ms], ...]",
              "items": {
                "type": "integer",
                "description": "Time series of maximum response times [[timestamp, ms], ...]",
                "format": "int64"
              }
            }
          }
        },
        "description": "Chart data for response times"
      },
      "WebhookStats": {
        "required": [
          "deliveries",
          "responseTime"
        ],
        "type": "object",
        "properties": {
          "deliveries": {
            "$ref": "#/components/schemas/WebhookChartDeliveries"
          },
          "responseTime": {
            "$ref": "#/components/schemas/WebhookChartResponseTime"
          }
        }
      }
    },
    "securitySchemes": {
      "BasicAuth": {
        "type": "http",
        "scheme": "basic"
      }
    }
  }
}
```