Skip to content

chmerev/unisender-api

Repository files navigation

Unisender API

Package for working with the service Unisender.

API documentation from the Unisender service.

Install package

To deploy this project run

  npm i unisender-api

Usage/Examples

Import

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});

Available methods now

  • 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

License

MIT

About

Package for working with the unisender.com API for sending emails.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published