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

Account

createNewAccount

account.createNewAccount Create a sub-account under the connected account; returns its id and creation date (the API key is left out) Risk: write
Input
Output

deleteAccount

account.deleteAccount delete account Risk: destructive
Input Output

getAccount

account.getAccount get account Risk: read
Input Output: object[]

getMyAccount

account.getMyAccount Get the connected account profile (credentials are left out) Risk: read
Input: empty object Output: object[]

updateAccount

account.updateAccount update account Risk: write
Input
Output

Campaigns

createNewCampaign

campaigns.createNewCampaign create new campaign Risk: write
Input
Output

deleteCampaign

campaigns.deleteCampaign delete campaign Risk: destructive
Input Output

getAllCampaigns

campaigns.getAllCampaigns List campaigns with delivery stats; each has campaign_id and the drop_id the other campaign operations take Risk: read
Input: empty object Output: object[]

getAllDripCampaigns

campaigns.getAllDripCampaigns get all drip campaigns Risk: read
Input: empty object Output: object[]

getCampaign

campaigns.getCampaign get campaign Risk: read
Input Output: object[]

getCampaignEvents

campaigns.getCampaignEvents get campaign events Risk: read
Input Output: object[]

getCampaignStats

campaigns.getCampaignStats get campaign stats Risk: read
Input Output: object[]

getContactEvent

campaigns.getContactEvent get contact event Risk: read
Input Output: object[]

updateCampaignStatus

campaigns.updateCampaignStatus Switch a triggered drip or automated file campaign between test mode and live mode. In live mode its sends print and mail real pieces billed per piece Risk: destructive
Input Output

Contacts

createContactOnList

contacts.createContactOnList create contact on list Risk: write
Input
Output

deleteContact

contacts.deleteContact delete contact Risk: destructive
Input Output

getAllContactLists

contacts.getAllContactLists get all contact lists Risk: read
Input: empty object Output: object[]

getContact

contacts.getContact get contact Risk: read
Input Output

getContactsOnList

contacts.getContactsOnList get contacts on list Risk: read
Input Output: object[]

updateContactOnList

contacts.updateContactOnList update contact on list Risk: write
Input
Output

Flows

enrollContactToFlow

flows.enrollContactToFlow Enroll a recipient in a flow; a live flow prints and mails its pieces to them, billed per piece Risk: destructive
Input
Output

getAllFlows

flows.getAllFlows get all flows Risk: read
Input: empty object Output: object[]

getFlow

flows.getFlow get flow Risk: read
Input Output

unenrollContactFromFlow

flows.unenrollContactFromFlow unenroll contact from flow Risk: write
Input Output

Login

login.createLoginLink Create a short-lived auto-login link for the connected account, optionally landing on a page such as dashboard Risk: write
Input
Output

Mail

sendMail

mail.sendMail Send direct mail, which may incur charges and cannot be recalled Risk: destructive · Irreversible
Input
Output

Suppression Contacts

createSuppressionListContact

suppressionContacts.createSuppressionListContact create suppression list contact Risk: write
Input
Output

deleteSuppressionListContact

suppressionContacts.deleteSuppressionListContact delete suppression list contact Risk: destructive
Input Output: string \| object

getSuppressionListContact

suppressionContacts.getSuppressionListContact get suppression list contact Risk: read
Input Output

getSuppressionListContacts

suppressionContacts.getSuppressionListContacts get suppression list contacts Risk: read
Input Output

updateSuppressionListContact

suppressionContacts.updateSuppressionListContact Update a suppression list contact. Address fields cannot be changed; Postalytics rejects them Risk: write
Input
Output

Suppression Lists

createSuppressionList

suppressionLists.createSuppressionList create suppression list Risk: write
Input
Output: object[]

deleteSuppressionList

suppressionLists.deleteSuppressionList delete suppression list Risk: destructive
Input Output: string \| object

getSuppressionList

suppressionLists.getSuppressionList get suppression list Risk: read
Input Output: object[]

getSuppressionLists

suppressionLists.getSuppressionLists get suppression lists Risk: read
Input Output: object[]

Templates

createTemplate

templates.createTemplate create template Risk: write
Input
Output

deleteTemplate

templates.deleteTemplate delete template Risk: destructive
Input Output

getAllTemplates

templates.getAllTemplates get all templates Risk: read
Input: empty object Output: object[]

getTemplate

templates.getTemplate get template Risk: read
Input Output: object[]

Webhooks

createWebhook

webhooks.createWebhook create webhook Risk: write
Input
Output

deleteWebhook

webhooks.deleteWebhook Unsubscribe a campaign’s webhook; Postalytics keeps the record with is_subscribed 0 Risk: destructive
Input Output

getAllWebhooks

webhooks.getAllWebhooks get all webhooks Risk: read
Input: empty object Output: object[]

getWebhook

webhooks.getWebhook get webhook Risk: read
Input Output: object[]

updateWebhook

webhooks.updateWebhook update webhook Risk: write
Input
Output