Send a test delivery
POST
/api/v1/webhooks/:id/testPOSTs a sample post payload (with test: true and X-Webhook-Event: test) to the endpoint, signed with its secret, and reports what your server answered. Updates last_delivery_at and last_error like a real delivery.
Request
Path parameters
idstringWebhook id.
Response
Returns a JSON object with a data field containing the result.
Response fields
okbooleantrue when your endpoint answered 2xx within 10 seconds.
statusnumber | nullThe HTTP status your endpoint returned, null when unreachable.
errorstring | nullWhy it failed, if it did.
curl -X POST https://redship.io/api/v1/webhooks/8d1f…/test \
-H "Authorization: Bearer rsp_your_key"Success response200
{ "ok": true, "status": 200, "error": null }