Endpoint Details
- URL:
/api/v0/webhooks
- Method:
GET
- Authentication: Required (API Key Authentication with Scopes)
- Content-Type:
application/json
- Required Scope:
webhook:read
Authentication
This endpoint requires API key authentication with specific scopes:Required Headers
Required Scope
Your API key must have thewebhook:read
scope to access this endpoint.
Query Parameters
Parameter | Type | Description | Default | Example |
---|---|---|---|---|
page | integer | Page number for pagination | 1 | ?page=2 |
limit | integer | Number of webhooks per page (1-100) | 20 | ?limit=50 |
active | boolean | Filter by active status | all | ?active=true |
Response
Success Response (200 OK)
Response Fields
Webhook Object
Field | Type | Description |
---|---|---|
id | string | Unique identifier for the webhook |
name | string | Human-readable name for the webhook |
url | string | Endpoint URL where events are sent |
isActive | boolean | Whether the webhook is currently active |
encrypted | boolean | Whether payloads are encrypted |
signing_secret | string | Secret used for signature verification |
created_at | string | ISO 8601 timestamp when webhook was created |
updated_at | string | ISO 8601 timestamp when webhook was last updated |
delivery_stats | object | Statistics about webhook deliveries |
app | object | Application information |
Delivery Stats Object
Field | Type | Description |
---|---|---|
total_events | number | Total number of events sent to this webhook |
successful_deliveries | number | Number of successfully delivered events |
failed_deliveries | number | Number of failed delivery attempts |
last_delivery | string | ISO 8601 timestamp of last delivery attempt |
success_rate | number | Delivery success rate percentage |
Example Requests
Error Responses
Filtering and Pagination
Pagination
Page Navigation
Page Navigation
Pagination Response
Pagination Response
Filtering
By Active Status
By Active Status
- active=true: Show only active webhooks
- active=false: Show only inactive webhooks
- No filter: Show all webhooks regardless of status
Future Filters
Future Filters
Additional filtering options coming soon:
- Filter by creation date range
- Filter by delivery success rate
- Search by webhook name or URL
Webhook Management
Monitor Performance
Track delivery success rates and identify failing webhooks
Manage Configuration
Review webhook settings and update configurations as needed
Debug Issues
Analyze delivery statistics to troubleshoot webhook problems
Audit Activity
Review webhook creation and modification history
Use Cases
Webhook Health Monitoring
Configuration Audit
Best Practices
1
Regular Health Checks
Monitor webhook delivery statistics regularly to identify and resolve issues quickly.
2
Pagination for Scale
Use pagination when dealing with large numbers of webhooks to improve performance.
3
Filter Efficiently
Use status filters to focus on specific webhook categories for management tasks.
4
Monitor Success Rates
Set up alerts for webhooks with success rates below acceptable thresholds.
5
Security Audit
Regularly audit webhook configurations for security best practices.
Related Endpoints
POST /api/v0/webhooks
- Create a new webhookGET /api/v0/webhooks/{id}
- Fetch specific webhook detailsPATCH /api/v0/webhooks/{id}
- Update webhook configurationDELETE /api/v0/webhooks/{id}
- Delete webhook