BlogDatadog Webhooks

How to Test Datadog Webhooks

Datadog webhooks forward monitor alerts and event notifications to your endpoint for custom incident response workflows.

Datadog Official Webhook Docs

1. Datadog Webhook Events

Datadog can send the following webhook events to your endpoint:

monitor.alert
monitor.warn
monitor.recovered
monitor.no_data
event.alert

2. Set Up a Test Endpoint with HookRay

Follow these steps to start receiving Datadog webhooks for testing:

  1. Go to HookRay and click "Start Testing — Free" to get your unique webhook URL.
  2. Copy the URL (e.g., https://h.hookray.com/abc123).
  3. In your Datadog dashboard, navigate to the webhook settings and paste the HookRay URL as your endpoint.
  4. Select the events you want to receive (see list above).
  5. Trigger a test event — HookRay will show the incoming webhook in real-time.

3. Sample Datadog Webhook Payload

Here's an example of what a Datadog webhook payload looks like:

payload.json
{
  "id": "1234567890",
  "title": "Webhook endpoint latency > 500ms",
  "text": "The p95 latency for /api/webhook has exceeded 500ms.",
  "date": 1763586900,
  "priority": "normal",
  "alert_type": "error",
  "tags": [
    "env:production",
    "service:hookray"
  ],
  "org": {
    "id": 12345,
    "name": "acme"
  }
}

4. Common Issues & Troubleshooting

Webhook not arriving?

Check that your endpoint URL is correct and publicly accessible. Datadog cannot reach localhost URLs — use HookRay's cloud URL instead.

Getting 400 or 500 errors?

HookRay accepts any payload and returns 200 OK by default, so the issue is likely on Datadog's side. Check your webhook configuration and event selection.

Need to verify webhook signatures?

Datadog signs webhook requests for security. Use HookRay to capture the raw headers and body, then implement signature verification in your application code.

5. Next Steps

  • Use HookRay's webhook replay feature to re-send captured webhooks while building your handler
  • Enable smart parsing (Pro plan) to see Datadog-specific fields highlighted automatically
  • Check the Datadog webhook documentation for the complete event reference

Ready to test Datadog webhooks?

Get a free webhook URL in 5 seconds. No signup required.

Start Testing Datadog Webhooks — Free