`POST /v1/me/webhooks/{id}/test` — send a synthetic signed payload to the registered URL and return what happened. Mirrors Stripe's "Send test webhook" button. The synthetic event carries the `x-pegana-test: true` header so subscribers can guard prod handlers (e.g. skip downstream order-fill on test deliveries).
No retry. One POST. The caller is operator-triggered, not engine- triggered, so retries would lie about the receiver’s true health.
Authorizations
Session JWT issued by POST /v1/auth/telegram (Telegram Login Widget) or POST /v1/auth/magic/consume. Send as Authorization: Bearer <jwt>.
Path Parameters
Webhook subscription id
Response
Delivery attempt result
Result of a single-shot delivery attempt. Returned as JSON to the caller so the operator can see exactly what happened.
Fresh per attempt — correlate with receiver-side logs.
Wall-clock latency from request build to response received.
x >= 0Stable id mirroring the body's alert_id (or a fresh UUID for
test-send synthetic events).
Some(error) when the delivery did not return 2xx OR the
request layer failed before sending.
HTTP status from the receiver. None if the request failed
before getting a response (DNS, timeout, TLS, SSRF guard).
x >= 0