Developers

A clean API for email that your team will enjoy

Manage contacts, send transactional email, record product events and receive webhooks — with predictable, documented behaviour.

Create a contact
curl -X POST https://mailerflow.ai/api/v1/contacts \
  -H "Authorization: Bearer mk_live_…" -H "Content-Type: application/json" \
  -d '{"email":"john@example.com","first_name":"John","lists":["newsletter"],"tags":["website"],"custom_fields":{"plan":"pro"}}'
Track an event
curl -X POST https://mailerflow.ai/api/v1/events \
  -H "Authorization: Bearer mk_live_…" -H "Content-Type: application/json" \
  -d '{"event":"pricing_viewed","contact":"john@example.com","properties":{"plan":"pro"}}'
Browser SDK
<script src="https://mailerflow.ai/sdk.js" defer></script>
<script>
  Mailerflow.init({ publicKey: "mk_pub_…" })
  Mailerflow.identify("john@example.com")
  Mailerflow.track("pricing_viewed", { plan: "pro" })
</script>
01

Scoped API keys

Hashed at rest, shown once, revocable, optional IP allow-lists.

02

Idempotency

Retry any POST safely with an Idempotency-Key header.

03

Signed webhooks

HMAC-SHA256 signatures, retries with backoff and delivery logs.

04

OpenAPI 3

Machine-readable spec and interactive reference in the dashboard.

05

Events → automations

Send product events and use them as triggers, conditions and segment rules.

06

Rate limits

Clear per-key limits with standard rate-limit headers.