Skip to main content
POST
TypeScript

Authorizations

Authorization
string
header
required

API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".

Headers

idempotency-key
string

A header for idempotency purposes

Path Parameters

domain
string
required
address
string
required

Body

application/json
from
object
required
subject
string
required
text
string
html
string
dryRun
boolean

When true, returns the payload that would be delivered without invoking outbound webhooks or the agent HTTP endpoint.

Response

OK

matched
boolean
required
dryRun
boolean
required
domainStatus
enum<string>
Available options:
pending,
verified
mxRecordConfigured
boolean
type
enum<string>
Available options:
agent,
webhook
wouldDeliverTo
string

Human-readable delivery target summary in dry-run mode.

payload
object

The outbound payload (dry-run only).

webhook
object
agent
object