Credit
Profile
Leaderboard
Webhook
Webhook Secret
Webhook
Get Webhook Logs
Show all logs for a webhook
GET
/
webhook
/
{id}
/
logs
curl --request GET \
--url https://api.openformat.tech/v1/webhook/{id}/logs \
--header 'X-API-KEY: <api-key>'
{
"status": "success",
"total": 1234,
"page": 2,
"page_size": 20,
"data": [
{
"webhook_id": 123,
"event": "transaction",
"idempotency_key": "a8eb78c3-2b45-4e9e-bf60-9296067fd593",
"url": "https://api.example.com/webhook",
"payload": "<any>",
"successful": true,
"response_code": 200,
"error_message": "ConnectionError",
"created_at": "2024-01-23 01:23:45.55338+00"
}
]
}
{
"status": "success",
"total": 1234,
"page": 2,
"page_size": 20,
"data": [
{
"webhook_id": 123,
"event": "transaction",
"idempotency_key": "a8eb78c3-2b45-4e9e-bf60-9296067fd593",
"url": "https://api.example.com/webhook",
"payload": "<any>",
"successful": true,
"response_code": 200,
"error_message": "ConnectionError",
"created_at": "2024-01-23 01:23:45.55338+00"
}
]
}
Authorizations
Path Parameters
Webhook id
Example:
"123"
Response
200
application/json
Webhook logs
The response is of type object
.
curl --request GET \
--url https://api.openformat.tech/v1/webhook/{id}/logs \
--header 'X-API-KEY: <api-key>'
{
"status": "success",
"total": 1234,
"page": 2,
"page_size": 20,
"data": [
{
"webhook_id": 123,
"event": "transaction",
"idempotency_key": "a8eb78c3-2b45-4e9e-bf60-9296067fd593",
"url": "https://api.example.com/webhook",
"payload": "<any>",
"successful": true,
"response_code": 200,
"error_message": "ConnectionError",
"created_at": "2024-01-23 01:23:45.55338+00"
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.