BlogNew Relic Webhooks

How to Test New Relic Webhooks

New Relic webhook destinations forward alert notifications for APM, infrastructure, and synthetic monitor incidents.

New Relic Official Webhook Docs

1. New Relic Webhook Events

New Relic can send the following webhook events to your endpoint:

incident.opened
incident.acknowledged
incident.closed
violation.opened
violation.closed

2. Set Up a Test Endpoint with HookRay

Follow these steps to start receiving New Relic 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 New Relic 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 New Relic Webhook Payload

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

payload.json
{
  "account_id": 1234567,
  "account_name": "Acme Production",
  "condition_name": "Webhook response time > 2s",
  "current_state": "open",
  "details": "Response time threshold exceeded",
  "event_type": "INCIDENT",
  "incident_id": "INC-98765",
  "severity": "CRITICAL",
  "timestamp": 1763587500,
  "violation_chart_url": "https://example.newrelic.com/chart/abc123"
}

4. Common Issues & Troubleshooting

Webhook not arriving?

Check that your endpoint URL is correct and publicly accessible. New Relic 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 New Relic's side. Check your webhook configuration and event selection.

Need to verify webhook signatures?

New Relic 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 New Relic-specific fields highlighted automatically
  • Check the New Relic webhook documentation for the complete event reference

Ready to test New Relic webhooks?

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

Start Testing New Relic Webhooks — Free