Test an inbound route
Sends a synthetic inbound email through the same delivery path as production (outbound webhooks for webhook routes, signed HTTP to the agent for agent routes). Use dryRun: true to preview the payload without delivering.
Authorization
Authorization<token>API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".
In: header
Request Body
application/jsonRequiredfromRequiredobjectsubjectRequiredstringtextstringhtmlstringdryRunbooleanWhen true, returns the payload that would be delivered without invoking outbound webhooks or the agent HTTP endpoint.
Path Parameters
domainRequiredstringaddressRequiredstringHeader Parameters
idempotency-keystringA header for idempotency purposes
Response Body
OK
matchedRequiredbooleandryRunRequiredbooleandomainStatusstringValue in:
"pending" | "verified"mxRecordConfiguredbooleantypestringValue in:
"agent" | "webhook"wouldDeliverTostringHuman-readable delivery target summary in dry-run mode.
payloadobjectThe outbound payload (dry-run only).
webhookobjectagentobject