Package for working with the service Unisender.
API documentation from the Unisender service.
To deploy this project run
npm i unisender-api
import Unisender from 'unisender-api';
const unisender = new Unisender('YOUR_API_KEY');
const subscribe = await unisender.subscribe('541', '[email protected]', 'Andrey', {}, {double_optin: 0, overwrite: 2});
- getLists
- createList
- updateList
- deleteList
- subscribe
- exclude
- unsubscribe
- importContacts
- exportContacts
- getTotalContactsCount
- getContactCount
- getContact
- getFields
- createField
- updateField
- deleteField
- getTags
- deleteTag
- createEmailMessage
- createSmsMessage
- createCampaign
- cancelCampaign
- getActualMessageVersion
- sendSms
- checkSms
- sendEmail
- sendTestEmail
- checkEmail
- updateOptInEmail
- getWebVersion
- deleteMessage
- updateEmailMessage
- createEmailTemplate
- updateEmailTemplate
- deleteTemplate
- getTemplate
- getTemplates
- listTemplates
- getCampaignDeliveryStats
- getCampaignCommonStats
- getVisitedLinks
- getCampaigns
- getCampaignStatus
- getMessages
- getMessage
- listMessages