API ReferenceWebhooks
Get Webhook Logs
Authorization
apiKey X-API-Key<token>
API key for authentication
In: header
Query Parameters
webhookId*string
Webhook endpoint ID
Format
uuidpage?number
Default
1Range
1 <= valuelimit?number
Default
20Range
1 <= value <= 100eventType?string
status?unknown
Value in
"success" | "failed"startDate?string
Format
date-timeendDate?string
Format
date-timeResponse 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
}