Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
/v1/campaigns{ "data": [ … ] }
curl -sS -X GET "https://api.mailofly.com/v1/campaigns" \
-H "Accept: application/json" \
-H "Authorization: Bearer mf_live_your_key_here"
/v1/campaigns{
"title": "April newsletter",
"description": "Internal note",
"segment_id": "uuid",
"template_id": "uuid",
"schedule_type": "manual"
}
{ "data": { … } }
curl -sS -X POST "https://api.mailofly.com/v1/campaigns" \
-H "Accept: application/json" \
-H "Authorization: Bearer mf_live_your_key_here" \
-H "Content-Type: application/json" \
-d '{"title":"April newsletter","segment_id":"uuid","template_id":"uuid","schedule_type":"manual"}'
/v1/campaigns/{id}{ "data": { … } }
curl -sS -X GET "https://api.mailofly.com/v1/campaigns/00000000-0000-0000-0000-000000000001" \
-H "Accept: application/json" \
-H "Authorization: Bearer mf_live_your_key_here"
/v1/campaigns/{id}{ "title": "Renamed" }
{ "data": { … } }
curl -sS -X PATCH "https://api.mailofly.com/v1/campaigns/00000000-0000-0000-0000-000000000001" \
-H "Accept: application/json" \
-H "Authorization: Bearer mf_live_your_key_here" \
-H "Content-Type: application/json" \
-d '{"title":"Renamed"}'
/v1/campaigns/{id}{ "ok": true }
curl -sS -X DELETE "https://api.mailofly.com/v1/campaigns/00000000-0000-0000-0000-000000000001" \
-H "Accept: application/json" \
-H "Authorization: Bearer mf_live_your_key_here"
/v1/campaigns/{id}/runs{ "data": [ … ] }
curl -sS -X GET "https://api.mailofly.com/v1/campaigns/00000000-0000-0000-0000-000000000001/runs" \
-H "Accept: application/json" \
-H "Authorization: Bearer mf_live_your_key_here"
/v1/campaigns/{id}/send{
"send_now": true,
"sender_account_ids": ["00000000-0000-0000-0000-000000000002"]
}
{ "ok": true, "campaign_id": "…", "contacts_messaged": 10 }
curl -sS -X POST "https://api.mailofly.com/v1/campaigns/00000000-0000-0000-0000-000000000001/send" \
-H "Accept: application/json" \
-H "Authorization: Bearer mf_live_your_key_here" \
-H "Content-Type: application/json" \
-d '{"send_now":true,"sender_account_ids":["00000000-0000-0000-0000-000000000002"]}'