Docs Send email

Send email

POST /api/v1/emails with X-API-Key and look up Queued, Sent, or Failed.

Guide 05
Format HTTPS JSON

Base URL

https://api.resendermail.com

The from address must be a sender identity on the key’s verified domain. to is an array of recipients. Include html, text, or both.

A successful send returns 200 with an email id and Queued. Delivery is asynchronous.

Message status

Look up the id from the send response:

GET /api/v1/emails/{id} with X-API-Key.

Status uses PascalCase enum names: Queued, Processing, Sent, or Failed (same casing on send and get).

Errors

Failed requests return JSON with an error field.

  • 401 — invalid API key
  • 403 — unverified account or missing permission
  • 422 — invalid payload
  • 429 — rate limited

Replace the example from address with a sender identity on your verified domain. There is no customer SMTP relay. Official SDKs: Node resendermail and PHP resendermail/resendermail-php. You can also send JSON over HTTPS from your server.

Machine-readable contract: OpenAPI.

Reusable bodies are next. See Templates. Today you still pass html or text on each request.