Send a test event to a webhook endpoint
POST
Immediately POSTs one signed event with type webhook.test (Mailly-Event-Type: webhook.test, body.test = true) and returns the HTTP result. The payload has the same shape as email.received in the endpoint's body format, but the sample email is not stored, so content_url cannot be fetched. Return any 2xx to pass. Works for disabled endpoints too; nothing is queued or retried.
bearerAuthheader
AuthorizationBearer <token>Mailly API key(Authorization: Bearer )
endpointId*stringWebhook endpoint ID
Test sent (check test.ok for the endpoint result)
application/json- response
success*booleantest*endpoint*[key: string]?unknowncurl -X POST 'https://api.mailly.site/inbox/webhook/endpoints/string/test'{ "success": true, "test": { "property1": null, "property2": null }, "endpoint": { "property1": null, "property2": null }, "property1": null, "property2": null}