Fetch Webhook

Retrieve details for a specific webhook by its ID.

Endpoint

GET /api/webhooks/{webhook_id}

Path Parameters

ParameterTypeRequiredDescription
webhook_idstringYesThe unique identifier for the webhook

Response

Returns the webhook object.
{
  "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"
}