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

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

Operations

Query email events

Request

Query email events with advanced filtering. Note: This is an enterprise feature that must be enabled on your account. Requires enable_event_tracking and enable_event_api to be enabled.

Security
BearerAuth
Query
email_idstring(uuid)

Filter by specific email ID

typestring

Filter by event type

Enum"queued""sent""delivered""bounced""complained""opened""clicked""unsubscribed"
recipientstring(email)

Filter by recipient email (partial match)

fromstring(email)

Filter by sender email (partial match)

from_timestampstring(date-time)

Filter events from this timestamp

to_timestampstring(date-time)

Filter events until this timestamp

pageinteger>= 1
Default 1
limitinteger[ 1 .. 100 ]
Default 50
curl -i -X GET \
  'https://api.mailerlogic.io/api/v1/events?email_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&type=queued&recipient=user%40example.com&from=user%40example.com&from_timestamp=2019-08-24T14%3A15%3A22Z&to_timestamp=2019-08-24T14%3A15%3A22Z&page=1&limit=50' \
  -H 'Authorization: Bearer <YOUR_API Key_HERE>'

Responses

Events retrieved successfully

Bodyapplication/json
eventsArray of objects(EmailEvent)
paginationobject(Pagination)
Response
application/json
{ "events": [ {} ], "pagination": { "page": 0, "limit": 0, "total": 0, "pages": 0 } }

Get events for specific email

Request

Retrieve all events for a specific email in chronological order. Note: This is an enterprise feature that must be enabled on your account.

Security
BearerAuth
Path
email_idstring(uuid)required

Email ID

curl -i -X GET \
  'https://api.mailerlogic.io/api/v1/emails/{email_id}/events' \
  -H 'Authorization: Bearer <YOUR_API Key_HERE>'

Responses

Email events retrieved successfully

Bodyapplication/json
email_idstring(uuid)
eventsArray of objects(EmailEvent)
timelineArray of objects
Response
application/json
{ "email_id": "8e6bf5ae-e456-4654-87f8-33e2156caffc", "events": [ {} ], "timeline": [ {} ] }

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