Skip to main content

REST API automation

Build custom integrations with Mailofly’s REST API — sync CRMs, trigger sends from your backend, and automate campaign workflows. Base URL: https://api.mailofly.com/v1

Common patterns

1. Transactional send on user action

When a user signs up, completes a purchase, or resets a password:

2. Sync contacts from your database

3. Trigger a campaign send

4. Monitor delivery


Zapier / n8n / Make

No native connector yet — use HTTP request steps: Trigger on: new CRM lead, form submission, Stripe payment, etc.

SDK & code samples

Every endpoint page includes ready-to-run cURL — translate directly to your language.

Error handling

Retry 5xx errors with exponential backoff. Don’t retry 4xx except 429 (rate limit).