Skip to main content
Every esputnik.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Account

generateApiToken

account.generateApiToken Generate a bearer token for the eSputnik event endpoints (returns a secret) Risk: write
Input: empty object Output: lazy

getAccountInfo

account.getAccountInfo Get the eSputnik account name and organisation ID Risk: read
Input: empty object Output

getBalance

account.getBalance Get the eSputnik organisation balance Risk: read
Input: empty object Output

getOrganisationBalanceHistory

account.getOrganisationBalanceHistory Get daily eSputnik billing costs for a period of up to 90 days Risk: read
Input Output: object

App Inbox

addAppInboxMessage

appInbox.addAppInboxMessage Create a eSputnik App Inbox message Risk: write
Input: object
Output

deleteAppInboxMessage

appInbox.deleteAppInboxMessage Delete a eSputnik App Inbox message Risk: destructive
Input Output: lazy

deleteTranslatedAppInboxMessage

appInbox.deleteTranslatedAppInboxMessage Delete a language version of a eSputnik App Inbox message Risk: destructive
Input Output: lazy

getAppInboxMessage

appInbox.getAppInboxMessage Get a eSputnik App Inbox message with its language versions Risk: read
Input Output: object

searchAppInboxMessages

appInbox.searchAppInboxMessages Search eSputnik App Inbox messages by name Risk: read
Input Output: lazy[]

updateBaseAppInboxMessage

appInbox.updateBaseAppInboxMessage Update a eSputnik App Inbox message Risk: write
Input: object
Output: lazy

updateTranslatedAppInboxMessage

appInbox.updateTranslatedAppInboxMessage Add or update a language version of a eSputnik App Inbox message Risk: write
Input: object
Output: lazy

Apps

addAppTokens

apps.addAppTokens Add Telegram application tokens to eSputnik Risk: write
Input
Output: lazy

muteAppToken

apps.muteAppToken Mute eSputnik notifications for an application token Risk: write
Input Output: lazy

unmuteAppToken

apps.unmuteAppToken Unmute eSputnik notifications for an application token Risk: write
Input Output: lazy

Broadcasts

cancelBroadcast

broadcasts.cancelBroadcast Cancel a scheduled eSputnik broadcast Risk: destructive
Input Output: lazy

createBroadcast

broadcasts.createBroadcast Create an eSputnik broadcast for a prepared message and segments Risk: write
Input Output: object

getBroadcast

broadcasts.getBroadcast Get an eSputnik broadcast Risk: read
Input Output: object

getBroadcasts

broadcasts.getBroadcasts List eSputnik broadcasts Risk: read
Input Output: lazy[]

Contacts

addContact

contacts.addContact Create or update an eSputnik contact Risk: write
Input
Output

addToUnsubscribed

contacts.addToUnsubscribed Add emails to the eSputnik unsubscribe list Risk: write
Input Output: lazy

attachContactsToGroup

contacts.attachContactsToGroup Add contacts to an eSputnik static segment Risk: write
Input Output: lazy

changeContactSubscriptionCategories

contacts.changeContactSubscriptionCategories Replace an eSputnik contact’s subscription categories Risk: write
Input Output: lazy

changeTokenActivated

contacts.changeTokenActivated Activate or deactivate an eSputnik mobile push token Risk: write
Input Output

contactActivity

contacts.contactActivity Get delivery, read and click activity for messages sent to eSputnik contacts Risk: read
Input Output: lazy[]

contactMessages

contacts.contactMessages Get an eSputnik contact’s message history Risk: read
Input Output: lazy[]

contactRecoms

contacts.contactRecoms Get product recommendations for an eSputnik contact Risk: read
Input Output: lazy[]

contactsBulkUpdate

contacts.contactsBulkUpdate Bulk create or update eSputnik contacts Risk: write
Input: object
Output: object

deleteContactByExternalCustomerId

contacts.deleteContactByExternalCustomerId Delete an eSputnik contact by external customer ID Risk: destructive
Input Output: lazy

deleteContactById

contacts.deleteContactById Delete an eSputnik contact by ID Risk: destructive
Input Output: lazy

deleteFromUnsubscribed

contacts.deleteFromUnsubscribed Remove emails from the eSputnik unsubscribe list Risk: write
Input Output: lazy

detachContactsFromGroup

contacts.detachContactsFromGroup Remove contacts from an eSputnik static segment Risk: destructive
Input Output: lazy

fileContactsBulkUpdate

contacts.fileContactsBulkUpdate Import eSputnik contacts from a file link Risk: write
Input: object
Output: object

getAdditionalFields

contacts.getAdditionalFields List eSputnik contact additional fields Risk: read
Input: empty object Output: object

getContact

contacts.getContact Get an eSputnik contact by ID Risk: read
Input Output

getContactEmails

contacts.getContactEmails Get email addresses for eSputnik contact IDs Risk: read
Input Output

getContactIdByToken

contacts.getContactIdByToken Get an eSputnik contact ID by mobile push token Risk: read
Input Output

getContactSubscriptionCategories

contacts.getContactSubscriptionCategories Get an eSputnik contact’s subscription categories Risk: read
Input Output: lazy[]

getGroupContacts

contacts.getGroupContacts Get contacts in an eSputnik segment Risk: read
Input Output: lazy[]

getImportSessionStatus

contacts.getImportSessionStatus Get eSputnik contact import status Risk: read
Input Output: object

getSubscriptionCategories

contacts.getSubscriptionCategories List the organisation’s eSputnik subscription categories Risk: read
Input: empty object Output: lazy[]

getTokenActivated

contacts.getTokenActivated Get whether an eSputnik mobile push token is active Risk: read
Input Output

searchContacts

contacts.searchContacts Search eSputnik contacts (up to 500 per page) Risk: read
Input Output: object[]

searchGroups

contacts.searchGroups Search eSputnik segments Risk: read
Input Output: lazy[]

searchWorkflows

contacts.searchWorkflows Search eSputnik workflows Risk: read
Input Output: lazy[]

subscribeContact

contacts.subscribeContact Subscribe an eSputnik contact Risk: write
Input
Output

updateContact

contacts.updateContact Update an eSputnik contact by ID Risk: write
Input: object
Output: lazy

Emails

addEmail

emails.addEmail Create an eSputnik email message Risk: write
Input Output

deleteEmail

emails.deleteEmail Delete an eSputnik email message Risk: destructive
Input Output: lazy

deleteTranslatedEmail

emails.deleteTranslatedEmail Delete a language version of an eSputnik email message Risk: destructive
Input Output: lazy

getEmail

emails.getEmail Get an eSputnik email message Risk: read
Input Output: object

emails.getEmailMessageViewLink Get a link to view an eSputnik email message Risk: read
Input Output: object

searchEmails

emails.searchEmails Search eSputnik email messages by name or tag Risk: read
Input Output: lazy[]

sendEmail

emails.sendEmail Send an email to eSputnik recipients Risk: write
Input: object
Output

updateMessage

emails.updateMessage Update an eSputnik email message Risk: write
Input: object
Output: lazy

updateTranslatedMessage

emails.updateTranslatedMessage Add or update a language version of an eSputnik email message Risk: write
Input: object
Output: lazy

Events

registerEvent

events.registerEvent Send an eSputnik event Risk: write
Input: object
Output: lazy

removeHistoryEvents

events.removeHistoryEvents Delete eSputnik events in a period Risk: destructive
Input: object
Output: lazy

sendHistoryEvents

events.sendHistoryEvents Send past eSputnik events Risk: write
Input: object
Output: object

Interfaces

getEmailInterfaces

interfaces.getEmailInterfaces List eSputnik email sender addresses Risk: read
Input: empty object Output: lazy[]

getSmsInterfaces

interfaces.getSmsInterfaces List eSputnik SMS sender names Risk: read
Input: empty object Output: lazy[]

Messages

sendPreparedMessage

messages.sendPreparedMessage Send a prepared eSputnik message to one or more contacts Risk: write
Input
Output

updateInteractionStatus

messages.updateInteractionStatus Report a delivery, open or click status for an eSputnik message interaction Risk: write
Input Output: lazy

Mobile Push

addMobilePushMessage

mobilePush.addMobilePushMessage Create a eSputnik mobile push message Risk: write
Input Output

deleteMobilePushMessage

mobilePush.deleteMobilePushMessage Delete a eSputnik mobile push message Risk: destructive
Input Output: lazy

deleteTranslatedMobilePushMessage

mobilePush.deleteTranslatedMobilePushMessage Delete a language version of a eSputnik mobile push message Risk: destructive
Input Output: lazy

getMobilePushMessage

mobilePush.getMobilePushMessage Get a eSputnik mobile push message with its language versions Risk: read
Input Output: object

searchMobilePushMessages

mobilePush.searchMobilePushMessages Search eSputnik mobile push messages by name Risk: read
Input Output: lazy[]

updateBaseMobilePushMessage

mobilePush.updateBaseMobilePushMessage Update a eSputnik mobile push message Risk: write
Input: object
Output: lazy

updateTranslatedMobilePushMessage

mobilePush.updateTranslatedMobilePushMessage Add or update a language version of a eSputnik mobile push message Risk: write
Input: object
Output: lazy

Orders

ordersBulkInsert

orders.ordersBulkInsert Add or update eSputnik orders Risk: write
Input: object
Output: object

Preprocessor

getPreprocessorFileStatus

preprocessor.getPreprocessorFileStatus Get the status of an eSputnik preprocessor file upload Risk: read
Input Output: lazy

updatePreprocessorFile

preprocessor.updatePreprocessorFile Replace the data of an eSputnik preprocessor file Risk: write
Input Output: object

uploadPreprocessorFile

preprocessor.uploadPreprocessorFile Upload an eSputnik preprocessor file from a link Risk: write
Input Output: object

Product Feeds

configureProductFeeds

productFeeds.configureProductFeeds Configure eSputnik product feeds Risk: write
Input
Output: lazy

getProductFeedsConfiguration

productFeeds.getProductFeedsConfiguration Get eSputnik product feed configuration Risk: read
Input: empty object Output: object

Promocodes

getPromocodes

promocodes.getPromocodes Get available eSputnik promotional codes Risk: read
Input Output: lazy

getPromocodesCount

promocodes.getPromocodesCount Count available eSputnik promotional codes Risk: read
Input Output: lazy

insertPromocodes

promocodes.insertPromocodes Upload eSputnik promotional codes Risk: write
Input Output: lazy

Site

addWebPushDomain

site.addWebPushDomain Register an eSputnik web push domain Risk: write
Input Output: object

createDomain

site.createDomain Register a domain for eSputnik web tracking Risk: write
Input Output: object

deleteWebPushDomain

site.deleteWebPushDomain Delete an eSputnik web push domain Risk: destructive
Input Output: lazy

getDomains

site.getDomains Get the organisation’s eSputnik web tracking domain Risk: read
Input: empty object Output: lazy[]

getScript

site.getScript Get the eSputnik web tracking script Risk: read
Input: empty object Output: string

getWebPushDomains

site.getWebPushDomains List eSputnik web push domains Risk: read
Input: empty object Output: object

getWebPushScript

site.getWebPushScript Get the eSputnik web push script for a domain Risk: read
Input Output: object

Sms

addSmsMessage

sms.addSmsMessage Create a eSputnik SMS message Risk: write
Input: object
Output

deleteSmsMessage

sms.deleteSmsMessage Delete a eSputnik SMS message Risk: destructive
Input Output: lazy

deleteTranslatedSmsMessage

sms.deleteTranslatedSmsMessage Delete a language version of a eSputnik SMS message Risk: destructive
Input Output: lazy

getSms

sms.getSms Get a eSputnik SMS message with its language versions Risk: read
Input Output: object

searchSmsMessages

sms.searchSmsMessages Search eSputnik SMS messages by name Risk: read
Input Output: lazy[]

sendSms

sms.sendSms Send an SMS to eSputnik recipients Risk: write
Input: object
Output

updateBaseSmsMessage

sms.updateBaseSmsMessage Update a eSputnik SMS message Risk: write
Input: object
Output: lazy

updateTranslatedSmsMessage

sms.updateTranslatedSmsMessage Add or update a language version of a eSputnik SMS message Risk: write
Input: object
Output: lazy

Telegram Bot

addTelegramBotMessage

telegramBot.addTelegramBotMessage Create a eSputnik Telegram bot message Risk: write
Input: object
Output

deleteTelegramBotMessage

telegramBot.deleteTelegramBotMessage Delete a eSputnik Telegram bot message Risk: destructive
Input Output: lazy

deleteTranslatedTelegramMessage

telegramBot.deleteTranslatedTelegramMessage Delete a language version of a eSputnik Telegram bot message Risk: destructive
Input Output: lazy

getTelegramBotMessage

telegramBot.getTelegramBotMessage Get a eSputnik Telegram bot message with its language versions Risk: read
Input Output: object

searchTelegramBotMessages

telegramBot.searchTelegramBotMessages Search eSputnik Telegram bot messages by name Risk: read
Input Output: lazy[]

updateBaseTelegramBotMessage

telegramBot.updateBaseTelegramBotMessage Update a eSputnik Telegram bot message Risk: write
Input: object
Output: lazy

updateTranslatedTelegramMessage

telegramBot.updateTranslatedTelegramMessage Add or update a language version of a eSputnik Telegram bot message Risk: write
Input: object
Output: lazy

Viber

addViberMessage

viber.addViberMessage Create a eSputnik Viber message Risk: write
Input: object
Output

deleteTranslatedViberMessage

viber.deleteTranslatedViberMessage Delete a language version of a eSputnik Viber message Risk: destructive
Input Output: lazy

deleteViberMessage

viber.deleteViberMessage Delete a eSputnik Viber message Risk: destructive
Input Output: lazy

getViberMessage

viber.getViberMessage Get a eSputnik Viber message with its language versions Risk: read
Input Output: object

searchViberMessages

viber.searchViberMessages Search eSputnik Viber messages by name Risk: read
Input Output: lazy[]

sendViber

viber.sendViber Send a Viber message to eSputnik recipients Risk: write
Input: object
Output

updateBaseViberMessage

viber.updateBaseViberMessage Update a eSputnik Viber message Risk: write
Input: object
Output: lazy

updateTranslatedViberMessage

viber.updateTranslatedViberMessage Add or update a language version of a eSputnik Viber message Risk: write
Input: object
Output: lazy