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 Logs

GET
/webhook-endpoints/:webhookId/logs

Authorization

apiKey
X-API-Key<token>

API key for authentication

In: header

Query Parameters

webhookId*string

Webhook endpoint ID

Formatuuid
page?number
Default1
Range1 <= value
limit?number
Default20
Range1 <= value <= 100
eventType?string
status?unknown
Value in"success" | "failed"
startDate?string
Formatdate-time
endDate?string
Formatdate-time

Response Body

application/json

curl -X GET "https://samva.app/api/v1/webhook-endpoints/:webhookId/logs?webhookId=497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "data": [
    {
      "id": "string",
      "webhookId": "string",
      "eventType": "string",
      "status": "string",
      "attempts": 0,
      "request": null,
      "response": null,
      "responseTimeMs": 0,
      "createdAt": "string"
    }
  ],
  "total": 0,
  "hasMore": true
}

Get Webhook Endpoint

Previous Page

Get Webhook Stats

Next Page

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