Path Parameters
The customer’s external ID (starts with cus_)
Query Parameters
Filter by endpoint status (active/inactive)
Number of endpoints to return (1-100)
Endpoint ID to start pagination after
Response
Array of webhook endpoint objects (excludes secrets)
Whether more endpoints are available
Total number of endpoints
Response Example
{
"object": "list",
"data": [
{
"id": "whep_1234567890abcdef",
"object": "webhook_endpoint",
"url": "https://api.mycompany.com/webhooks/hopnow",
"events": ["payin.completed", "payout.completed"],
"is_active": true,
"description": "Production webhook",
"created": "2024-01-01T00:00:00Z",
"last_used_at": "2024-01-15T12:30:00Z"
},
{
"id": "whep_fedcba0987654321",
"object": "webhook_endpoint",
"url": "https://staging.mycompany.com/webhooks",
"events": ["account.created"],
"is_active": false,
"description": "Staging webhook",
"created": "2023-12-01T00:00:00Z",
"last_used_at": null
}
],
"has_more": false,
"total_count": 2
}