Vorynza
Vorynza
DashboardPricingDocumentation
Mail guideDomain setupSending emailAPI keys
Mail

Sending email

Send transactional email through the Vorynza Mail REST API. Request fields, response format, and message statuses.

Send email programmatically using the Vorynza Mail REST API. Requires an API key with the mail:send scope and a verified sending domain.

Send endpoint

POST /api/mail/send
Authorization: Bearer <api-key>
Content-Type: application/json

Request body

FieldTypeRequiredDescription
fromstringyesSender email address (must be on a verified domain)
tostring[]yesRecipients (max 50)
ccstring[]noCC recipients (max 25)
bccstring[]noBCC recipients (max 25)
replyTostringnoReply-to address
subjectstringyesEmail subject (max 180 characters)
textstringnoPlain text body
htmlstringnoHTML body
metadataobjectnoCustom metadata (must be JSON-serialisable)

Example

curl -X POST https://api.vorynza.cloud/v1/mail/send \
  -H "Authorization: Bearer vnz_mail_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "hello@mail.yourcompany.com",
    "to": ["user@example.com"],
    "subject": "Hello from Vorynza Mail",
    "text": "This is a plain text email.",
    "html": "<p>This is an HTML email.</p>"
  }'

Response

Returns 202 Accepted when the message is queued for delivery.

{
  "ok": true,
  "messageId": "msg_abc123",
  "status": "queued"
}

Message statuses

StatusDescription
queuedMessage accepted and waiting to send
sendingMessage being delivered
sentMessage accepted by the provider
deliveredMessage delivered to recipient
bouncedMessage rejected by recipient's mail server
complainedRecipient marked message as spam
rejectedMessage rejected before sending (policy, quota, etc.)
failedMessage failed due to a temporary error

Delivery, bounce, and complaint events are processed from the provider and reflected in the message status automatically.

Delivery logs

Every message appears in your delivery logs with sender, recipients, subject, status history, and provider message ID. Logs are paginated by cursor and filterable by status.


Need help? Contact support.

Domain setup

Add and verify sending domains for Vorynza Mail with DKIM, SPF, DMARC, and custom MAIL FROM.

API keys

Create, manage, and revoke Mail API keys for programmatic email sending.

On this page

Send endpointRequest bodyExampleResponseMessage statusesDelivery logs