Email API

An email API that connects your application with every inbox

Send transactional emails from your application with a straightforward integration. You decide when to send the message. Destinatarium handles the journey.

From account confirmations to important notifications, every message has a destination.

POST /api/v1/emails/
{}
Your applicationmakes an HTTPS request
@
Destinatarium APIauthenticates and processes the message
✓
Status availableto review in the dashboard

A direct connection

What is an email API?

An email API lets an application request email delivery through a specialized service. Instead of operating the entire sending infrastructure itself, your application provides the message data and the provider processes the request.

Destinatarium's API is designed for transactional email: messages triggered by an action or event, such as an account confirmation, a password reset link, or a payment notification.

Learn more about transactional email

Four steps

From your application to their inbox

Configure the sender, connect your backend, and keep visibility into every sending request.

  1. 01

    Configure your domain

    Add your domain and complete the required DNS records to authorize sending. The platform shows you its configuration status.

  2. 02

    Connect your application

    Generate an API key, send it as a Bearer token, and always keep it on the server, away from public code.

  3. 03

    Send your first email

    When an event occurs in your application, make a POST request with the sender, recipient, subject, and message content.

  4. 04

    See what happened

    Review the history and available status of each send in the dashboard whenever you need more context.

Technical integration

Integrate email sending without complicating your code

You do not need to build a mail server from scratch for your product to send important messages. Connect your backend to the API and keep your business logic in your application.

An integration example

This request uses the endpoint, authentication, and fields documented by Destinatarium. Keep the API key in an environment variable and make the request only from your server.

See every parameter and response in the documentation

Integration exclusively through the API

Customers connect their applications to Destinatarium through HTTPS requests to the REST API. Destinatarium does not provide customer SMTP credentials, endpoints, or access; SMTP is used only within the server-to-server delivery infrastructure.

Node.js fetch example
const response = await fetch("https://api.destinatarium.com/api/v1/emails/", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${process.env.DESTINATARIUM_API_KEY}`,
    "Content-Type": "application/json",
    "Idempotency-Key": "account-1842-welcome"
  },
  body: JSON.stringify({
    from: "My App <notifications@your-domain.com>",
    to: "user@example.com",
    subject: "Welcome to My App",
    html: "<h1>Welcome!</h1>",
    text: "Welcome!"
  })
});

if (!response.ok) throw new Error(`Email request failed: ${response.status}`);
const result = await response.json();

Product events

The emails your product needs to send

Registration confirmations

Help users complete the sign-up process.

Password recovery

Deliver the link people need to regain access.

Receipts and payments

Communicate important transaction details.

Account notifications

Share relevant changes and events.

Order updates

Keep people informed about the status of their purchases.

These examples illustrate possible uses for an email API. They do not imply that Destinatarium automatically creates the content or templates for each message.

Control and visibility

Send the message. Follow its journey.

The dashboard lets you review sending activity and available statuses. This gives you more context for investigating errors and understanding what happened after a send was requested.

A request accepted by the API, a message sent to the destination server, and actual inbox delivery are not the same. No provider can guarantee the final placement of every message.

Learn what affects email deliverability

  1. 01
    RequestThe API receives and validates the data
  2. 02
    ProcessingDestinatarium manages the send
  3. 03
    ReviewCheck the available status

Direct answers

Frequently asked questions about email APIs

What is an API for sending email?

It is an interface that lets an application request email delivery programmatically without operating the entire mail infrastructure.

What is a transactional email API used for?

It sends messages related to product events, including verifications, password resets, confirmations, and account notifications.

Do I need my own mail server?

No. An API email service operates the infrastructure needed to process requests and manage sending while you integrate the service into your application.

Can I use it with JavaScript or Node.js?

An HTTP API can be called from a compatible backend. In Node.js, you can use fetch and follow Destinatarium's documentation. Never expose private credentials in the browser.

Does an email API guarantee inbox delivery?

No. Delivery also depends on domain configuration and reputation, recipient policies, and other factors. A provider cannot guarantee the final placement of every message.

How is an email API different from an email marketing platform?

A transactional email API is designed for messages triggered by specific events or actions. A marketing platform usually focuses on campaigns, audiences, and promotional communication.

View all frequently asked questions

The next send

Your application has something important to say

Connect your product to Destinatarium and start sending the emails your users expect.