FlaresendDocs
Webhooks

Send a test event

Deliver a fake email.delivered event to one webhook, to check your endpoint.

POST/v1/webhooks/{id}/testAPI key

Queues one synthetic email.delivered event for this webhook only. It is sent even if the webhook is not subscribed to email.delivered. The request is signed with the webhook's secret like a real one, so you can test your signature check.

The payload has data.test: true and made-up values (emailId: "email_test", recipient: "recipient@example.com"), so your handler can tell it apart from real events. Its event ID starts with evt_test_.

The response comes back before the delivery happens. Check the result with List deliveries. A failed test delivery is retried on the same schedule as real ones (see Retries).

Path parameters

idstringpathrequired

The webhook ID.

Response

Status 202.

The ID of the queued delivery, for example whd_01K6B4F2H6K8M0P2R4T6V8X0Z2.

Errors

StatusCodeWhen
404webhook_not_foundNo webhook with this ID in the project.
409webhook_disabledThe webhook is disabled. Enable it first.