Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 770 Bytes

README.md

File metadata and controls

33 lines (26 loc) · 770 Bytes

Seamailer JS SDK

For collecting contact information from frontend forms

NPM Version

if you want to send emails try our Node SDK or use the API

Installing

npm install @seamailer/seamailer-js

Usage

import Seamailer from "seamailer-js"

const seamailer = new Seamailer("public api key")

seamailer.contacts.createContact({
    email: "[email protected]",
    firstName: "John",
    lastName: "Doe",
    company: "Acme Inc.",
    tags: "tag1, tag2",
    customFields: {
        field1: "value1",
        field2: "value2",
    },
}).then();