MoonMail API

Our comprehensive REST API allows you to integrate MoonMail's powerful email and messaging capabilities into your applications.

Getting Started

To use the MoonMail API, you'll need an API key. You can generate one from your account dashboard under Settings → API Keys.

Authentication

All API requests must include your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

API Endpoints

  • POST /campaigns: Create and send email campaigns
  • GET /campaigns: List all campaigns
  • POST /lists: Create subscriber lists
  • POST /subscribers: Add subscribers to lists
  • GET /subscribers: Retrieve subscriber information
  • POST /templates: Create email templates
  • GET /analytics: Retrieve campaign analytics

Rate Limits

API requests are limited to 1000 requests per hour for standard plans and 10,000 requests per hour for enterprise plans.

SDKs and Libraries

We provide official SDKs for:

  • Node.js / JavaScript
  • Python
  • PHP
  • Ruby
  • Go

Webhooks

Set up webhooks to receive real-time notifications for events like opens, clicks, bounces, and unsubscribes.

Support

Need help with the API? Contact our developer support team at [email protected]

Apply for API Access

To get started with MoonMail API, please apply by sending an email to:

Our team will review your application and provide you with API credentials within 1-2 business days.