The full reference with request and response examples is at /docs/api.
Keys
Create a key under Settings → API keys. Give each integration its own key with only the scopes it needs, for example contacts:write for a signup flow. The key is shown once; store it in your secrets manager.
Authentication
Send the key as a bearer token:
curl https://your-app.example/api/v1/me \
-H "Authorization: Bearer mm_live_…"
Common tasks
- Add or update a contact:
POST /api/v1/contactswith an email, fields, tags and audience ids. It upserts by email. - Start an automation:
POST /api/v1/automations/{id}/enrollwith an email. - Record a custom event:
POST /api/v1/contacts/{email}/events. - Export engagement: page through
GET /api/v1/eventswith thenext_cursorfrom each response. - Schedule a campaign:
POST /api/v1/campaigns/{id}/schedule(needscampaigns:send), at one moment for everyone or at one time in each contact's time zone. See below.
Scheduling a campaign
By default a campaign goes out at one moment for everyone: send_at is ISO 8601, in UTC unless it carries an offset. Leave it out to send right away.
curl https://your-app.example/api/v1/campaigns/{id}/schedule \
-H "Authorization: Bearer mm_live_…" \
-H "Content-Type: application/json" \
-d '{"send_at": "2026-11-12T09:00:00+02:00"}'
{
"data": {
"status": "scheduled",
"scheduled_at": "2026-11-12T07:00:00+00:00",
"schedule": {
"mode": "same_moment",
"local_send_at": null,
"first_at": "2026-11-12T07:00:00+00:00",
"last_at": "2026-11-12T07:00:00+00:00"
}
}
}
With "contact_time": true, send_at is a wall-clock time read in each recipient's own time zone (the workspace's for contacts without one), and any offset in it is ignored. Recipients whose zones share an offset that day go out together, so the campaign sends from the first group to the last:
curl https://your-app.example/api/v1/campaigns/{id}/schedule \
-H "Authorization: Bearer mm_live_…" \
-H "Content-Type: application/json" \
-d '{"send_at": "2026-11-12T09:00", "contact_time": true}'
{
"data": {
"status": "scheduled",
"scheduled_at": "2026-11-12T00:00:00+00:00",
"schedule": {
"mode": "contact_time",
"local_send_at": "2026-11-12T09:00",
"first_at": "2026-11-12T00:00:00+00:00",
"last_at": "2026-11-12T17:00:00+00:00"
}
}
}
Here 09:00 comes first in Tokyo (00:00 UTC) and last in Los Angeles (17:00 UTC). Every campaign carries the same schedule object, so GET /api/v1/campaigns/{id} tells you the same. Until the campaign starts, last_at is worked out from the recipients' zones, so it can move if they change.
The time must still be ahead in every recipient's zone. If it has passed somewhere you get 422 naming the zones:
{
"message": "That time has already passed in Asia/Tokyo. Pick a later time.",
"errors": {
"send_at": [
"That time has already passed in Asia/Tokyo. Pick a later time."
]
}
}
A/B tests can't be sent this way (their winner comes from the first results), and plan limits apply as for any send. Both come back as 422 errors, under contact_time and plan.
Limits
Each key allows 120 requests per minute by default. Over the limit you get 429 with a Retry-After header.