Skip to main content
The Fetch Webhook endpoint allows you to retrieve detailed information about a specific webhook, including its configuration, delivery statistics, and recent activity. This endpoint is useful for debugging webhook issues and monitoring individual webhook performance.

Endpoint Details

  • URL: /api/v0/webhooks/{webhook_id}
  • 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 the webhook:read scope to access this endpoint.

Path Parameters

Query Parameters

Response

Success Response (200 OK)

Response Fields

Webhook Object

Enhanced Delivery Stats

Recent Event Object

Example Requests

Error Responses

Webhook Diagnostics

Health Indicators

  • Excellent: 99%+ success rate
  • Good: 95-99% success rate
  • Warning: 90-95% success rate
  • Critical: Below 90% success rate
  • Fast: Under 1 second average response time
  • Acceptable: 1-3 seconds average response time
  • Slow: 3-5 seconds average response time
  • Critical: Over 5 seconds average response time
  • Active: Events delivered in the last 24 hours
  • Idle: No events in the last 24 hours
  • Failing: Multiple failures in recent deliveries

Troubleshooting Guide

Common causes and solutions:
  • HTTP 4xx errors: Check webhook endpoint implementation
  • HTTP 5xx errors: Check webhook server health and capacity
  • Timeout errors: Optimize webhook response time
  • Connection errors: Verify webhook URL and network connectivity

Use Cases

Webhook Health Monitoring

Performance Analysis

Best Practices

1

Regular Health Checks

Monitor individual webhook performance and set up alerts for degraded performance.
2

Include Recent Events

Use the include_events parameter to debug delivery issues and understand webhook behavior.
3

Performance Monitoring

Track response times and success rates to identify optimization opportunities.
4

Error Analysis

Analyze recent events to identify patterns in delivery failures and errors.
5

Security Auditing

Regularly review webhook configuration for security best practices.
  • POST /api/v0/webhooks - Create a new webhook
  • GET /api/v0/webhooks - List all webhooks
  • PATCH /api/v0/webhooks/{id} - Update webhook configuration
  • DELETE /api/v0/webhooks/{id} - Delete webhook