Welcome to the MailGreet API
The MailGreet API provides programmatic access to your email marketing platform, enabling you to automate subscriber management, trigger campaigns, and integrate with your existing tools seamlessly.Quick Start
Get up and running in 5 minutes
Authentication
Learn how to authenticate your requests
Subscribers API
Manage your subscriber list
Postman Collection
Download and test the API
Base URL
All API requests should be made to the following base URL:Production
Authentication
All API endpoints (except public endpoints like Health Check and Plans) require authentication using a Bearer token.
Getting Your API Key
- Log in to your MailGreet Dashboard
- Navigate to Settings → Integrations
- Click “Generate New API Key”
- Copy and securely store your API key
Using Your API Key
Include your API key in theAuthorization header of every request:
Test Your Authentication
Before making other requests, verify your API key is working:Quick Start
Get started with the MailGreet API in just a few steps:1
Get Your API Key
Generate your API key from the Integrations page in your dashboard.
2
Test Authentication
Verify your API key works by calling the
/test-auth endpoint.3
Create Your First Subscriber
Add a subscriber using the Subscribers API.
4
Start Building
Explore the full API to build powerful integrations.
Your First API Call
Here’s how to create a subscriber:Response Format
All API responses follow a consistent JSON structure:Success Response
Error Response
HTTP Status Codes
Rate Limiting
To ensure fair usage and maintain API stability, requests are rate-limited based on your plan:
When you exceed the rate limit, you’ll receive a
429 Too Many Requests response with a Retry-After header indicating when you can retry.
Pagination
List endpoints support pagination with the following query parameters:
Paginated Response:
Available Endpoints
Authentication
Test API key authentication
Subscribers
Create, read, update, delete subscribers
Health Check
Check API availability (no auth required)
Plans
View available subscription plans
Postman Collection
We provide a complete Postman collection for testing all API endpoints.Download Postman Collection
Import into Postman and start testing immediately
Setup Instructions
- Import the Collection: Download the JSON file and import it into Postman
- Set Variables: Configure the following collection variables:
base_url: Your API base URLapi_key: Your MailGreet API key
- Start Testing: Run any request to test the API
SDKs & Libraries
Official SDKs are coming soon! In the meantime, you can use the API directly with any HTTP client.
Community Libraries
Need Help?
Support
Contact our support team
Documentation
Browse the full documentation

