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

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

Enterprise Feature - Query granular email lifecycle events and build custom analytics.

Access to historical lifecycle event data is available only for customers whose subscription tier includes this feature. All customers receive the standard send-time response from /api/send, but only eligible tiers can query historical lifecycle data.

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.

Operations

Get health score history

Request

Retrieve historical health score data over time. Use this to track trends and improvements in your sending reputation.

Security
ApiKeyAuth
Query
daysinteger[ 1 .. 365 ]

Number of days of history to retrieve

Default 30
curl -i -X GET \
  'https://api.mailerlogic.io/api/customer/health-score/history?days=30' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

History retrieved successfully

Bodyapplication/json
historyArray of objects
period_daysinteger
Response
application/json
{ "history": [ { … }, { … } ], "period_days": 30 }

Refresh health score

Request

Recalculate your health score with the latest data. Health scores are automatically updated daily, but you can manually refresh when needed.

Security
ApiKeyAuth
curl -i -X POST \
  https://api.mailerlogic.io/api/customer/health-score/refresh \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

Health score refreshed successfully

Bodyapplication/json
health_scoreobject(HealthScore)
insightsobject
messagestring
Example: "Health score refreshed successfully"
Response
application/json
{ "health_score": { "overall_score": 100, "delivery_rate": 0, "open_rate": 0, "click_rate": 0, "bounce_rate": 0, "complaint_rate": 0, "reputation_grade": "A+", "last_calculated": "2019-08-24T14:15:22Z" }, "insights": { "status": "string", "summary": "string" }, "message": "Health score refreshed successfully" }

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