Test Webhook Delivery
Webhook API
Test Webhook Delivery
This endpoint will send test data to your webhook endpoint so you may verify your integration
GET
Test Webhook Delivery
Documentation Index
Fetch the complete documentation index at: https://benzinga-2-locadex-main-1770976803646.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Use this endpoint to trigger a test webhook delivery to your configured endpoint. This allows you to verify that your webhook integration is working correctly before receiving live production data.Testing Your Integration
When you call this endpoint, Benzinga will send a test webhook payload to your configureddestination URL. This test delivery follows the same format and retry logic as production webhook deliveries.
What to Expect
- Immediate Response: The API returns a
200status code if the test delivery was triggered successfully - Test Payload: Your webhook endpoint receives a test payload in the same format as production data
- Delivery Headers: The test delivery includes the
X-BZ-Deliveryheader just like production deliveries
Verify Your Integration
Use this endpoint to confirm:- Your webhook endpoint is publicly accessible
- Your endpoint can parse the webhook payload format correctly
- Your endpoint responds with appropriate status codes (2xx for success)
- Your endpoint responds within the 30-second timeout
- Your idempotency logic correctly handles the
X-BZ-Deliveryheader and payloadidfield
Best Practices
- Test with non-production webhook endpoints first
- Verify your endpoint responds with
200or204status codes - Confirm your logging and monitoring capture the test delivery
- Check that your deduplication logic works with the test delivery ID
- Test error scenarios by temporarily returning error status codes
Troubleshooting
424 Delivery Error
If you receive a424 status code, the system could not deliver the test payload to your destination endpoint. Common causes:
- Destination URL is not publicly accessible
- Destination endpoint is returning error status codes
- Network connectivity issues
- SSL/TLS certificate errors on the destination endpoint
400 Invalid Request
Verify that all required parameters are provided and correctly formatted:destinationmust be a valid HTTPS URLversionmust bewebhook/v1kindmust beNews/v1
Authorizations
Your Benzinga API key
Query Parameters
The webhook endpoint URL where the test data will be sent
API version, currently webhook/v1
Available options:
webhook/v1 Identifies the message kind for the test payload
Available options:
News/v1, Signals/v1, Earnings/v1, Ratings/v1, Dividends/v1, IPOs/v1, Guidance/v1, Splits/v1, OptionActivity/v1, Conference/v1, Economics/v1, Offerings/v1, MA/v1, Retail/v1, FDA/v1, WIIMs/v1, SECInsiderTransaction/v1, GovernmentTrade/v1 Specify token to have data transformed for production usage
Response
Success - Test webhook delivery was sent successfully
Example:
"success"