List Webhooks
Retrieve a list of all webhooks in your account.
Number of webhooks to return. Maximum 100.
Filter by status: active, failing, disabled.
Request
curl "https://api.lettr.dev/v1/webhooks" \
-H "Authorization: Bearer le_xxxxxxxxxxxx"
Response
{
"object": "list",
"data": [
{
"id": "wh_123abc",
"object": "webhook",
"url": "https://example.com/webhooks/lettr",
"events": ["email.delivered", "email.bounced"],
"status": "active",
"lastDeliveryAt": "2024-01-15T14:30:00Z",
"createdAt": "2024-01-15T10:30:00Z"
},
{
"id": "wh_456def",
"object": "webhook",
"url": "https://backup.example.com/webhooks",
"events": ["*"],
"status": "active",
"lastDeliveryAt": "2024-01-15T14:30:00Z",
"createdAt": "2024-01-10T08:00:00Z"
}
],
"hasMore": false,
"totalCount": 2
}