List Webhooks

Retrieve a list of all webhook endpoints in your account.

Endpoint

GET /api/webhooks

Query Parameters

ParameterTypeRequiredDescription
pageintegerNoPage number (default: 1)
limitintegerNoNumber of items per page (default: 20)
statusstringNoFilter by status (active, inactive)

Response

Returns a list of webhook objects.
{
  "data": [
    {
      "id": "wh_123456789",
      "url": "https://your-app.com/webhooks",
      "events": ["payment.completed", "invoice.paid"],
      "description": "Payment notifications",
      "status": "active",
      "created_at": "2023-01-01T00:00:00Z"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 20,
    "total": 1
  }
}