Skip to content

MailerLogic API (1.0.0)

Complete REST API for managing email delivery, tracking, and analytics.

Get started in minutes:

  1. Get your API key from your customer dashboard
  2. Send authenticated requests using the Bearer token
  3. Start sending emails via SMTP or API

For detailed guides, see the Getting Started section in the navigation.

Languages
Servers
Production API server
https://api.mailerlogic.io/
EU Data Center (Coming Soon)
https://eu.api.mailerlogic.io/

Quickstart Guide

Get started with MailerLogic in minutes. This guide walks you through sending your first email.

Features Overview

MailerLogic provides enterprise-grade email delivery infrastructure with powerful APIs, deliverability optimization, and comprehensive analytics. Built by developers, for developers.


FAQ

Email Sending

Send transactional and marketing emails via REST API. Simple API for sending individual emails with full tracking support.

Operations

Profile

Manage your customer profile, view usage limits, and rotate API keys. Start here to understand your account settings and available resources.

Operations

SMTP

Get SMTP credentials for sending emails directly through our mail servers. Use these endpoints to retrieve and rotate your SMTP passwords.

Operations

Domains

Add and verify sender domains for email authentication. Configure SPF, DKIM, and DMARC records to improve deliverability.

Operations

List all domains

Request

Retrieve all domains registered to your account with their verification status. Use this to check which domains are ready for sending emails.

Security
BearerAuth
curl -i -X GET \
  https://api.mailerlogic.io/api/customer/domains \
  -H 'Authorization: Bearer <YOUR_API Key_HERE>'

Responses

Domains retrieved successfully

Bodyapplication/json
domainsArray of objects(Domain)
Response
application/json
{ "domains": [ { … } ] }

Add domain

Request

Register a new domain for sending emails. This will generate DKIM keys and DNS records. After adding, use the DNS endpoint to get records that need to be configured.

Security
BearerAuth
Bodyapplication/jsonrequired
domainstring^[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,}$required

Fully qualified domain name

Example: "mail.acme.com"
tagsArray of strings

Optional tags for categorization

Example: ["production","transactional"]
curl -i -X POST \
  https://api.mailerlogic.io/api/customer/domains \
  -H 'Authorization: Bearer <YOUR_API Key_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "domain": "mail.acme.com",
    "tags": [
      "production",
      "transactional"
    ]
  }'

Responses

Domain created successfully

Bodyapplication/json
domainobject(DomainDetail)
Response
application/json
{ "domain": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "domain": "string", "verification_status": "pending", "dkim_selector": "string", "spf_record": "string", "dmarc_record": "string", "is_active": true, "tags": [ … ], "created_at": "2019-08-24T14:15:22Z", "verified_at": "2019-08-24T14:15:22Z", "verification_token": "string", "dkim_private_key": "string", "dkim_public_key": "string" } }

Get required DNS records

Request

Get the DNS records you need to configure for this domain. Add these TXT records to your DNS provider to verify ownership and enable email authentication (SPF, DKIM, DMARC).

Security
BearerAuth
Path
idstring(uuid)required

Domain ID

curl -i -X GET \
  'https://api.mailerlogic.io/api/customer/domains/{id}/dns' \
  -H 'Authorization: Bearer <YOUR_API Key_HERE>'

Responses

DNS records retrieved successfully

Bodyapplication/json
domainstring
Example: "mail.acme.com"
dns_recordsArray of objects(DNSRecord)
Response
application/json
{ "domain": "mail.acme.com", "dns_records": [ { … }, { … }, { … }, { … } ] }

Statistics

Access detailed email delivery and engagement metrics. Query sends, bounces, opens, clicks, and spam complaints with flexible date filters.

Operations

Content Scoring

Analyze email content for spam patterns before sending. Get actionable feedback to improve deliverability scores.

Operations

Events

Query granular email events and build custom analytics. Enterprise feature - must be enabled on your account.

Operations

Unsubscribe Management

Manage unsubscribes programmatically with full CRUD operations. Track unsubscribe sources and maintain compliance with anti-spam laws. Similar to Mailgun's Unsubscribes API and Postmark's Bounces API.

Operations

Health Score

Monitor your account's email health and engagement quality metrics. Get a 0-100 score with reputation grade (A+ to F) and actionable insights. Similar to SendGrid's Engagement Quality API.

Operations

Tracking

Public endpoints for open and click tracking. These are called automatically by email clients - no authentication required.

Operations

Webhooks

Receive real-time notifications for bounces and complaints. Configure these endpoints in your mail server or monitoring tools.

Operations