Neodymium Plated Magnet

    mixmax-api

    1.5.0 • Public • Published

    mixmax-api

    Cheeky wrapper around the Mixmax API

    Installation

    npm i mixmax-api

    Authentication

    In order to use the mixmax-api library, you'll need a Mixmax API key. You can retrieve this key from your Mixmax settings page. Once you have that key, you can authenticate like so:

    const MixmaxAPI = require('mixmax-api');
    
    const apiKey = 'super-secret-key'; // Your API key here.
    
    const api = new MixmaxAPI(apiKey);

    Usage

    Sequences

    let sequenceID = 'sequence-id-here';
    
    const sequence = api.sequences.sequence(sequenceID);

    Add recipients to a Sequence

    sequence.addRecipients([{
        email: 'super-email@super.cool',
        variables: {
            email: 'super-email@super.cool'
        }
    }].then((results) => {
        console.log(result);
    });

    Keywords

    Install

    npm i mixmax-api

    DownloadsWeekly Downloads

    289

    Version

    1.5.0

    License

    MIT

    Unpacked Size

    19.9 kB

    Total Files

    18

    Last publish

    Collaborators

    • ttacon