Get Webhook Delivery Logs
Webhooks
Get Webhook Delivery Logs
Retrieve delivery logs for a specific webhook endpoint
GET
Get Webhook Delivery Logs
Get Webhook Delivery Logs
GET https://api.baanx.com/v1/webhooks/{id}/logs Retrieves delivery logs for a specific webhook endpoint.Overview
Returns recent delivery attempts for a webhook endpoint, including HTTP status codes, response bodies, error messages, and response times. Useful for monitoring delivery health and debugging failures.Log retention: Delivery logs are kept for 7 days. Both successful and failed delivery attempts are included.
Authentication
This endpoint requires authentication via Bearer token:Request
Headers
Bearer token for authentication
Path Parameters
Unique identifier of the webhook configuration
Query Parameters
Maximum number of log entries to return. Range: 1–100.
Request Example
Response
200 Success
Number of log entries returned
Array of delivery log entries
Unique identifier for this log entry
ID of the event that triggered this delivery
ID of the webhook endpoint
Delivery attempt number (1–6)
The URL the webhook was delivered to
HTTP headers sent with the delivery, including
X-Timestamp and X-SignatureThe webhook payload that was sent
HTTP status code returned by your endpoint (
null if the request failed to connect)Response body returned by your endpoint
Error message if delivery failed (e.g., connection timeout)
Delivery status:
pending, processing, success, or failedResponse time in milliseconds (
null if no response received)Timestamp of this delivery attempt
Scheduled time for next retry attempt, if applicable
Error Responses
Related Endpoints
GET /v1/webhooks/events- List all eventsPOST /v1/webhooks/events/{eventId}/retry- Retry a failed event deliveryGET /v1/webhooks/events/{eventId}/logs- View logs for a specific event