Send one transactional email
Requires email:send in a project-scoped key supplied as X-API-Key. Server-side only. Select an eligible verified project identity and one authorized recipient. Reuse Idempotency-Key with the same credential and payload to retry a logical send. Browser-origin requests are refused.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”projectId
required
string
Header Parameters
Section titled “Header Parameters”Idempotency-Key
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
identityId
required
string
to
required
string format: email
subject
required
string
html
required
string
Examplegenerated
{ "identityId": "example", "to": "hello@example.com", "subject": "example", "html": "example"}Responses
Section titled “Responses”Success
Media typeapplication/json
object
ok
boolean
messageId
string | null
replayed
boolean
Invalid payload or idempotency key
Missing or invalid scoped credential
Required scope is missing
Project or requested resource not found
Idempotency key conflict or delivery pending/unknown
Request exceeds 128 KiB
Sender identity unavailable or recipient suppressed
Send quota exceeded
Delivery failed
Send unavailable