API Documentation
Use the IfMail API to manage emails programmatically
Authentication
All authenticated endpoints require an API key sent via the X-API-Key header.
Example:
curl -H "X-API-Key: your-api-key" https://ifmail.app/api/emailsCreate API keys from your Profile page. Each user can have up to 10 API keys.
Rate Limits
- Email sending: 2/day (Free), 5/day (Premium)
- Global sending cap: 90 emails/day across all users
- API key limit: 10 keys per user
Emails
Messages
Send Email
Credential-based Access
Error Codes
401 Unauthorized (missing/invalid API key)403 Forbidden (insufficient permissions)404 Not found429 Rate limit exceeded