Send a sample event and inspect the delivery result.
POST
/v1/webhooks/{webhook_id}/testDashboard JWT only
Send a test event to a webhook endpoint and return the delivery result.
Body & query parameters
webhook_idstringpathrequiredEndpoint to test.
const response = await fetch("https://api.dravo.dev/v1/webhooks/{webhook_id}/test", { method: "POST", headers: { "Authorization": "Bearer " + process.env.DRAVO_API_KEY,}});const data = await response.json();console.log(data);{ "id": "del_1", "event_type": "post.published", "status_code": 200, "attempts": 1}