Test endpoint

View .md

Send a sample event to a webhook endpoint.


Send a sample event and inspect the delivery result.

POST/v1/webhooks/{webhook_id}/test
Dashboard JWT only

Send a test event to a webhook endpoint and return the delivery result.

Body & query parameters

webhook_idstringpathrequired

Endpoint 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}