seamailer-nodejs
v1.1.10
Published
Seamailer Node SDK for integrating to your node app
Readme
Seamailer Node SDK
Sample usage of the sdk
Testing connection
new SeaMailerClient("apiKey").connectionCheck().then();Creating contacts
await seamailerClient.createContact({
contacts: [
{
email: user.email,
firstName: user.firstName,
lastName: user.lastName,
...
groupIds: [1003, 50696] // Optional - to add contacts to groups
},
],
});Creating single contacts
await seamailerClient.createSingleContact({
email: user.email,
firstName: user.firstName,
lastName: user.lastName,
...
groupIds: [1003, 50696] // Optional - to add contacts to groups
});