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

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

Receive bounce notifications

Request

Webhook endpoint for receiving bounce notifications from mail servers or monitoring services. Public endpoint - configure this URL in your mail server or monitoring service.

The system will process the bounce and update email status automatically.

Bodyapplication/jsonrequired
emailIdstring(uuid)required

ID of the bounced email

Example: "550e8400-e29b-41d4-a716-446655440000"
bounceTypestring

Type of bounce

Enum"hard""soft"
Example: "hard"
reasonstring

Bounce reason or error message

Example: "550 5.1.1 User unknown"
recipientEmailstring(email)

Recipient that bounced

Example: "bounced@example.com"
timestampstring(date-time)
Example: "2024-03-15T14:30:00Z"
customDataobject

Additional bounce metadata

curl -i -X POST \
  https://api.mailerlogic.io/webhooks/bounce \
  -H 'Content-Type: application/json' \
  -d '{
    "emailId": "550e8400-e29b-41d4-a716-446655440000",
    "bounceType": "hard",
    "reason": "550 5.1.1 User unknown",
    "recipientEmail": "bounced@example.com",
    "timestamp": "2024-03-15T14:30:00Z"
  }'

Responses

Bounce processed successfully

Bodyapplication/json
successboolean
Example: true
Response
application/json
{ "success": true }

Receive spam complaint notifications

Request

Webhook endpoint for receiving spam complaint notifications. Public endpoint - configure this URL in your mail server or feedback loop service.

Bodyapplication/jsonrequired
emailIdstring(uuid)required

ID of the complained email

Example: "550e8400-e29b-41d4-a716-446655440000"
recipientEmailstring(email)

Recipient who complained

Example: "user@example.com"
complaintTypestring

Type of complaint

Example: "abuse"
timestampstring(date-time)
Example: "2024-03-15T14:45:00Z"
feedbackTypestring
Enum"abuse""fraud""virus""other"
Example: "abuse"
customDataobject
curl -i -X POST \
  https://api.mailerlogic.io/webhooks/complaint \
  -H 'Content-Type: application/json' \
  -d '{
    "emailId": "550e8400-e29b-41d4-a716-446655440000",
    "recipientEmail": "user@example.com",
    "complaintType": "abuse",
    "feedbackType": "abuse",
    "timestamp": "2024-03-15T14:45:00Z"
  }'

Responses

Complaint processed successfully

Bodyapplication/json
successboolean
Example: true
Response
application/json
{ "success": true }