Send one test event to a webhook now

posthttps://api.expiryedge.com/v1/sendTestWebhook
admin60/min
Request
curl -X POST 'https://api.expiryedge.com/v1/sendTestWebhook' \
  -H "Authorization: Bearer $EXPIRYEDGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "id": "wh_3kQ9xLm2"
}'
Response
{
  "delivered": true,
  "status_code": 200,
  "duration_ms": 184,
  "error": null,
  "delivery_id": "dlv_5c2e9a0b1d4f6a8c3e7b9d1f",
  "event_id": "evt_8c1f0a2b3c4d5e6f7a8b9c0d"
}

Sends a webhook.test event once (no retries, does not affect the failure count). Works on switched-off subscriptions too. An unreachable or refused endpoint is reported with delivered: false, not an error status.

Body parameters

application/json
  • idstringrequired
    Subscription id.

Returns

200
The result of the test send.
  • deliveredbooleanrequired
  • status_codeinteger | null
  • duration_msinteger
  • errorstring | null
    Why it failed, e.g. HTTP 500, Timed out after 10s, Redirects are not followed, Refused: Host resolves to a private or reserved address.
  • delivery_idstring
  • event_idstring

Errors

400
The request is missing required fields or contains invalid values.
401
Missing, expired or invalid bearer token.
403
Authenticated, but your role or organization does not allow this action.
404
The record does not exist or is not in your organization.
405
The endpoint does not accept this HTTP method.
429
Too many requests for this endpoint from your IP. Wait Retry-After seconds.
500
Unexpected server error. Retry later; quote requestId to support.