API Documentation
Integrate email services using the MailPass API.
Base URL
https://dev.mailpass.im/api/v1
Authentication
All API requests must include an API key in the Authorization header.
Authorization: Bearer YOUR_API_KEY
You can generate an API key from Settings > API Keys.
OTP API
API for sending and verifying email verification codes
Subscribers API
API for managing subscribers and lists
Campaigns API
API for creating and sending email campaigns
Mail Send API
API for sending transactional emails (single/batch)
Webhooks
Webhook configuration for receiving event notifications
Bounces API
API for processing and querying email bounces
Response Format
All API responses are returned in JSON format.
Success Response
{
"success": true,
"data": { ... }
}
Error Response
{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "The email field is required."
}
}
Rate Limits
API requests are limited to 60 per minute. A 429 status code is returned when the rate limit is exceeded.