API ReferenceWebhooks
Get Webhook Stats
Authorization
apiKey X-API-Key<token>
API key for authentication
In: header
Query Parameters
webhookId*string
Webhook endpoint ID
Format
uuidperiod?unknown
Default
"30d"Value in
"7d" | "30d" | "90d"Response Body
application/json
curl -X GET "https://samva.app/api/v1/webhook-endpoints/:webhookId/stats?webhookId=497f6eca-6276-4993-bfeb-53cbbbba6f08"{
"totalRequests": 0,
"successfulRequests": 0,
"failedRequests": 0,
"avgLatency": 0,
"dailyVolume": [
{
"date": "string",
"requests": 0
}
]
}