BlogNetlify Webhooks

How to Test Netlify Webhooks

Netlify notifications can deliver deploy status events to a webhook endpoint so release tooling can track build progress automatically.

Netlify Official Webhook Docs

1. Netlify Webhook Events

Netlify can send the following webhook events to your endpoint:

deploy_started
deploy_succeeded
deploy_failed
deploy_deleted
deploy_locked
deploy_unlocked

2. Set Up a Test Endpoint with HookRay

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

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

payload.json
{
  "site_id": "1f5d72a2-ce91-4a78-9b88-14a9b9d89e12",
  "event": "deploy_succeeded",
  "created_at": "2026-03-20T10:30:00Z",
  "payload": {
    "deploy_id": "6602d6a11bf7aa0008f66b10",
    "branch": "main",
    "state": "ready",
    "deploy_url": "https://hookray.netlify.app"
  }
}

4. Common Issues & Troubleshooting

Webhook not arriving?

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

Need to verify webhook signatures?

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

Ready to test Netlify webhooks?

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

Start Testing Netlify Webhooks — Free