S
Samva
S
Samva
DashboardAPISamva DocumentationQuickstart GuideAuthentication

API Reference

Email Management

Conversation Management

Configuration

Create Webhook EndpointGet Webhook EndpointGet Webhook LogsGet Webhook StatsList Webhook EndpointsRegenerate Webhook SecretRemove Webhook EndpointRetry Webhook DeliveryTest Webhook EndpointUpdate Webhook Endpoint

Analytics & Operations

OpenAPI Specification
API ReferenceWebhooks

Get Webhook Stats

GET
/webhook-endpoints/:webhookId/stats

Authorization

apiKey
X-API-Key<token>

API key for authentication

In: header

Query Parameters

webhookId*string

Webhook endpoint ID

Formatuuid
period?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
    }
  ]
}

Get Webhook Logs

Previous Page

List Webhook Endpoints

Next Page

curl -X GET "https://samva.app/api/v1/webhook-endpoints/:webhookId/stats?webhookId=497f6eca-6276-4993-bfeb-53cbbbba6f08"