Skip to main content
New to Corsair? See API access, authentication, and error handling.

Campaigns

abSummary

campaigns.abSummary Read an A/B campaign’s totals per version Risk: read
Input Output: Record<string, any>

activityByLocation

campaigns.activityByLocation Count campaign opens per country Risk: read
Input Output

clone

campaigns.clone Copy a campaign into a new draft and return the copy Risk: write
Input Output

create

campaigns.create Create a draft campaign (regular or A/B); nothing is sent Risk: write
Input
Output

delete

campaigns.delete Delete a campaign; cannot be undone Risk: destructive
Input Output

get

campaigns.get Read one campaign with its content, sender and mailing lists (no statistics) Risk: read
Input Output

linkActivity

campaigns.linkActivity Count campaign clicks per link Risk: read
Input Output

list

campaigns.list List campaigns (drafts, scheduled and sent) with their totals, optionally by page and page size Risk: read
Input No paging input calls GET /campaigns.json; page alone calls /campaigns/{page}.json; pageSize calls /campaigns/{page}/{pageSize}.json (page 1 when omitted) with the sort options. Output

schedule

campaigns.schedule Schedule a draft campaign to be sent at a set time Risk: destructive
Input Output

send

campaigns.send Send a draft campaign to its mailing lists now Risk: destructive
Input Output

sendTest

campaigns.sendTest Email a test copy of a campaign to up to 5 addresses Risk: destructive
Input POST /campaigns/{CampaignID}/send_test.json. The current docs show send-test, which answers 404. Output

stats

campaigns.stats List per-recipient campaign activity of one type (sent, opened, clicked, bounced, unsubscribed, complained), with paging and dates Risk: read
Input Output

summary

campaigns.summary Read a campaign’s totals: sent, opens, clicks, bounces, complaints, unsubscribes Risk: read
Input GET /campaigns/{CampaignID}/view_summary.json. The current docs show view-summary, which Moosend routes to the paging route and rejects. Output

unschedule

campaigns.unschedule Cancel a scheduled send; the campaign goes back to draft Risk: write
Input Output

update

campaigns.update Change a draft campaign; nothing is sent Risk: write
Input
Output

Custom Fields

create

customFields.create Add a custom field (text, number, date, dropdown or checkbox) to a mailing list Risk: write
Input Output

delete

customFields.delete Remove a custom field and every subscriber’s value for it; cannot be undone Risk: destructive
Input Output

update

customFields.update Change a custom field’s name, type, options or visibility Risk: write
Input Output

Lists

create

lists.create Create an empty mailing list Risk: write
Input
Output

delete

lists.delete Delete a mailing list and its subscribers; cannot be undone Risk: destructive
Input Output

get

lists.get Read one mailing list with its custom field definitions Risk: read
Input Output

list

lists.list List the active mailing lists with subscriber counts and custom field definitions (first page of 10) Risk: read
Input Output

listPaged

lists.listPaged List mailing lists one page at a time Risk: read
Input Output

update

lists.update Change a mailing list’s name, confirmation and unsubscribe pages, or preferences Risk: write
Input
Output

Segments

addCriteria

segments.addCriteria Add one criterion to a segment; returns its position for updateCriteria Risk: write
Input Output

create

segments.create Create a segment of a mailing list, empty or with criteria Risk: write
Input
Output

delete

segments.delete Delete a segment; its subscribers stay on the list. Cannot be undone Risk: destructive
Input Output

get

segments.get Read one segment with its criteria Risk: read
Input Output

list

segments.list List a mailing list’s segments with their criteria Risk: read
Input Output

members

segments.members List the subscribers a segment matches, one page at a time Risk: read
Input Output

update

segments.update Change a segment’s name and match settings; criteria, when given, replace all existing ones Risk: write
Input
Output

updateCriteria

segments.updateCriteria Change one segment criterion, addressed by its position (1 = first) Risk: write
Input POST /lists/{MailingListID}/segments/{SegmentID}/criteria/{n}/update.json where n is the criterion’s position in the segment (1 = first), not its ID; the ID answers SEGMENT_CRITERIA_NOT_FOUND. Output

Senders

get

senders.get Read one sender by email address Risk: read
Input Output

list

senders.list List the account senders (from addresses) with their SPF, DKIM and DMARC checks Risk: read
Input: empty object Output

Subscribers

addTags

subscribers.addTags Add tags to up to 1,000 subscribers of one mailing list Risk: write
Input
Output

delete

subscribers.delete Delete a subscriber from one mailing list for good; cannot be undone Risk: destructive
Input Output

deleteFromAccount

subscribers.deleteFromAccount Delete an email address from every mailing list in the account (and optionally its sub-accounts); cannot be undone Risk: destructive
Input Output

deleteMany

subscribers.deleteMany Delete up to 1,000 subscribers from one mailing list for good; cannot be undone Risk: destructive
Input Output

getByEmail

subscribers.getByEmail Find a subscriber by email address in one mailing list Risk: read
Input Output

getById

subscribers.getById Find a subscriber by ID in one mailing list Risk: read
Input Output

getByIdAnyList

subscribers.getByIdAnyList Find a subscriber by ID without naming the mailing list Risk: read
Input Output

list

subscribers.list List a mailing list’s subscribed, unsubscribed, bounced or removed members, one page at a time Risk: read
Input Output

remove

subscribers.remove Mark a subscriber as removed from one mailing list (no more campaigns) Risk: destructive
Input Output

removeMany

subscribers.removeMany Mark up to 1,000 subscribers as removed from one mailing list Risk: destructive
Input POST /subscribers/{MailingListID}/remove_many.json with the addresses as one comma-separated string. The current docs show remove-many, which answers 404. Output

removeTags

subscribers.removeTags Remove tags from up to 1,000 subscribers of one mailing list Risk: write
Input
Output

subscribe

subscribers.subscribe Add a subscriber or update the one with that email; re-subscribes an unsubscribed contact, clears custom fields left out, and on a double opt-in list emails a confirmation unless hasExternalDoubleOptIn is true Risk: destructive
Input POST /subscribers/{MailingListID}/subscribe.json. An upsert: an existing email is updated, an unsubscribed one is re-subscribed, and custom fields left out are cleared. customFields is sent as ['Name=Value', ...]. Output

subscribeMany

subscribers.subscribeMany Add or update up to 1,000 subscribers in one call (same effects as subscribe); Moosend skips invalid addresses and reports them in notice Risk: destructive
Input
Output

unsubscribe

subscribers.unsubscribe Unsubscribe an email address from one mailing list Risk: destructive
Input Output

unsubscribeFromAccount

subscribers.unsubscribeFromAccount Unsubscribe an email address from every mailing list in the account Risk: destructive
Input Output

unsubscribeFromCampaign

subscribers.unsubscribeFromCampaign Unsubscribe an email address from one mailing list and count it against a campaign Risk: destructive
Input Output

update

subscribers.update Update a subscriber’s email, name, tags, preferences and custom fields; custom fields left out are cleared Risk: write
Input Output

Transactional

send

transactional.send Send a transactional email (from a template or inline content) to the given recipients Risk: destructive
Input
Output