Sending

Campaigns API

2 endpoints under https://api.mailneo.co/api/v2. Every request carries your key in the X-API-Key header. The scope used here: campaigns:read. Each endpoint below states the one it requires. Start with the guide →

Campaigns
listCampaigns

List campaigns

Cursor-paginated. Pass updated_since with the synced_through value from your previous run to fetch only what changed; you will occasionally re-see a row, so upsert by id. Deletes are not visible to updated_since. The message body is omitted here — retrieve a single campaign to get it.

https://api.mailneo.co/api/v2
GET/campaignscampaigns:read

Example request

curl "https://api.mailneo.co/api/v2/campaigns?limit=25&order=desc&sort=updated_at" \
  -H "X-API-Key: $MAILNEO_API_KEY"
Authorization
Required scope
campaigns:read. A key without it is refused before the endpoint runs.
Credential
X-API-Key: mk_live_...Authorization: Bearer mk_live_...
Query parameters7
NameTypeRequiredNotes
limitintegerNodefault 25 · 1–100
cursorstringNomax 256 chars
order"asc" | "desc"Nodefault "desc"
updated_sincestring · date-timeNoISO 8601
sort"updated_at" | "created_at"Nodefault "updated_at"
status"DRAFT" | "SCHEDULED" | "RUNNING" | "PAUSED" | "COMPLETED" | "CANCELLED" | …No
type"COLD" | "NEWSLETTER" | "SEQUENCE"No
Response · 200

Success

data[]Each element of the array.

FieldTypeAlways presentNotes
object"campaign"Yes
idstringYes
namestringYes
descriptionstring · nullableYes
typestringYes
statusstringYes
subjectstring · nullableYes
preheaderstring · nullableYes
timezonestring · nullableYes
scheduled_atstring · nullableYes
started_atstring · nullableYes
completed_atstring · nullableYes
recipient_countnumberYes
sent_countnumberYes
delivered_countnumberYes
open_countnumberYes
click_countnumberYes
bounce_countnumberYes
reply_countnumberYes
unsubscribe_countnumberYes
created_atstringYes
updated_atstringYes

meta

FieldTypeAlways presentNotes
request_idstringYes
has_morebooleanYes
next_cursorstring · nullableYes
synced_throughstringNo
Campaigns
getCampaign

Retrieve a campaign

Returns the full campaign including the message body.

https://api.mailneo.co/api/v2
GET/campaigns/{campaignId}campaigns:read

Example request

curl "https://api.mailneo.co/api/v2/campaigns/{campaignId}" \
  -H "X-API-Key: $MAILNEO_API_KEY"
Authorization
Required scope
campaigns:read. A key without it is refused before the endpoint runs.
Credential
X-API-Key: mk_live_...Authorization: Bearer mk_live_...
Path parameters1
NameTypeRequiredNotes
campaignIdstringYesmax 64 chars
Response · 200

Success

data

FieldTypeAlways presentNotes
object"campaign"Yes
idstringYes
namestringYes
descriptionstring · nullableYes
typestringYes
statusstringYes
subjectstring · nullableYes
preheaderstring · nullableYes
timezonestring · nullableYes
scheduled_atstring · nullableYes
started_atstring · nullableYes
completed_atstring · nullableYes
recipient_countnumberYes
sent_countnumberYes
delivered_countnumberYes
open_countnumberYes
click_countnumberYes
bounce_countnumberYes
reply_countnumberYes
unsubscribe_countnumberYes
created_atstringYes
updated_atstringYes
bodystring · nullableYes

meta

FieldTypeAlways presentNotes
request_idstringYes

Next Steps