List Webhooks
Retrieve all webhooks associated with your API key, including their status, configuration, and delivery statistics.Endpoint
HTTP Request
Query Parameters
page
- Type: Integer
- Description: Page number for pagination
- Default: 1
- Example:
?page=2
limit
- Type: Integer
- Description: Number of webhooks per page
- Default: 20
- Maximum: 100
- Example:
?limit=50
status
- Type: String
- Description: Filter webhooks by status
- Options:
active,inactive,pending_verification,failed - Example:
?status=active
search
- Type: String
- Description: Search webhooks by URL or description
- Example:
?search=programming
Response Format
Success Response (200 OK)
Webhook Object Fields
Basic Information
- id: Unique webhook identifier
- url: Webhook endpoint URL
- events: Array of subscribed event types
- filters: Event filtering criteria
- active: Whether webhook is currently active
- description: Human-readable description
Status Information
- status: Current webhook status
active: Webhook is verified and receiving eventsinactive: Webhook is disabledpending_verification: Webhook awaiting verificationfailed: Webhook has delivery failures
Timestamps
- created_at: When webhook was created
- updated_at: When webhook was last updated
- last_delivery_at: Last successful delivery timestamp
- last_failure_at: Last failed delivery timestamp
Statistics
- delivery_count: Total successful deliveries
- failure_count: Total failed deliveries
Implementation Examples
JavaScript (Node.js)
Python
cURL
Advanced Filtering
Status Filtering
Search Functionality
Pagination Handling
Performance Monitoring
Webhook Health Analysis
Automated Monitoring
Error Handling
Common Error Responses
401 Unauthorized
429 Too Many Requests
Error Handling Implementation
Best Practices
For Monitoring
- Regular Checks: Monitor webhook status and performance regularly
- Alert Thresholds: Set appropriate alert thresholds for your use case
- Performance Analysis: Track success rates and delivery patterns
- Proactive Maintenance: Address issues before they become critical
For Performance
- Pagination: Use pagination for large webhook lists
- Caching: Cache webhook data to reduce API calls
- Batch Operations: Process multiple webhooks together
- Rate Limiting: Respect API rate limits and implement backoff
For Security
- API Key Protection: Store API keys securely
- Access Control: Implement appropriate access controls
- Audit Logging: Log all webhook management operations
- Regular Reviews: Regularly review webhook configurations