DMSI Webhooks includes a built-in test delivery feature to verify your endpoint is reachable and signature verification is working.
Sending a Test Delivery #
- Go to DDLS > Webhooks > Endpoints
- Click Send Test next to an endpoint
A test payload is delivered synchronously — the result is shown immediately on screen, not queued via Action Scheduler.
Test Payload Format #
The test delivery sends a standard webhook envelope with sample data. The event name will indicate it is a test delivery.
Test Delivery Headers #
Test deliveries include all standard headers:
Content-Type: application/json
User-Agent: DMSI-Webhooks/1.0
X-DMSI-Signature: sha256=...
X-DMSI-Timestamp: 1234567890
X-DMSI-Webhook-ID: whk_...
X-DMSI-Event: [event name]
Verify the signature using the same logic as live deliveries.
Test Logs #
Test deliveries are logged with is_test = 1. They appear in the delivery logs and can be filtered. Test logs are excluded from daily failure digest emails so they do not generate noise in notifications.
REST API Test #
You can also send a test delivery via the REST API:
POST /wp-json/dmsi/v1/webhooks/test
Content-Type: application/json
Authorization: Bearer [WordPress auth]
{
"endpoint_id": 1
}
Response includes response_code, response_body, and delivery status.
Related Topics #
- Delivery Logs Overview
- Signature Verification
- REST API Reference
