Skip to main content
GET
/
api
/
v1
/
webhooks
/
logs
Webhook Logs
curl --request GET \
  --url https://api.example.com/api/v1/webhooks/logs
{
  "id": 123,
  "event_type": "<string>",
  "payload": {},
  "response_status": 123,
  "attempts": 123,
  "created_at": "<string>"
}

Webhook Logs

Returns recent webhook delivery attempts for debugging.

Response

Array of log entries:
id
number
Log entry ID
event_type
string
Event that triggered the webhook
payload
object
The payload that was sent
response_status
number
HTTP status code from your server
attempts
number
Number of delivery attempts
created_at
string
Timestamp

Example

curl https://api.tronrental.com/v1/webhooks/logs \
  -H "X-API-Key: your_api_key"
Response
[
  {
    "id": 1,
    "event_type": "order.filled",
    "payload": {
      "order_id": 12345,
      "address": "TAddress...",
      "energy_amount": 65000
    },
    "response_status": 200,
    "attempts": 1,
    "created_at": "2026-03-05T12:00:00Z"
  }
]