get
https://api.lirium-sandbox.com/v1/webhooks/events
Search and list webhook event history
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Search through the history of webhook events that have been sent to your subscriptions.
Request
GET /webhooks/events
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| subscription_id | string | No | Filter by subscription ID |
| event_type | string | No | Filter by event type |
| status | string | No | Filter by delivery status (delivered, failed, pending) |
| from | timestamp | No | Start of date range |
| to | timestamp | No | End of date range |
| page | integer | No | Page number for pagination |
| per_page | integer | No | Number of results per page (max 100) |
Example Request
GET /webhooks/events?event_type=order-closed&status=delivered&per_page=20
Example Response
{
"events": [
{
"id": "evt_abc123",
"subscription_id": "sub_abc123def456",
"event_type": "order-closed",
"status": "delivered",
"payload": {
"action": "order-closed",
"order": { ... }
},
"attempts": 1,
"created_at": "2025-01-05T12:00:00Z",
"delivered_at": "2025-01-05T12:00:01Z"
}
],
"pagination": {
"page": 1,
"per_page": 20,
"total": 150
}
}Response Fields
| Field | Type | Description |
|---|---|---|
| id | string | Unique event identifier |
| subscription_id | string | ID of the subscription this event was sent to |
| event_type | string | Type of event |
| status | string | Delivery status |
| payload | object | The event payload that was sent |
| attempts | integer | Number of delivery attempts |
| created_at | timestamp | When the event was created |
| delivered_at | timestamp | When the event was successfully delivered (if applicable) |
