Haskell library to interact with Mailchimp JSON API Version 3.0

Latest on Hackage:

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow to host generated Haddocks.

BSD3 licensed by Dananji
Maintained by


A library to handle mailing lists in Mailchimp (


This library is written in Haskell, to interact with Mailchimp's JSON API. The initial commit supported only the Mailchimp 2.0 version. Now the library is available for version 3.0 using Basic HTTP Authentication. This implements the following functionalities;

  • Adding individual subscribers and in batches
  • List the mailing lists for given 'apikey'
  • List out the subscribers in a mailing list
  • List the templates and campaigns in an account
  • Create a new campaign
  • Send a campaign (for this the campaign should be properly formatted using the web interface)
  • Add subscribers in batches and individually and remove individual subscribers from a given list

Here are the links for the blog posts written on this [,]

How to use

Given that you have installed Haskell platform in your machine; (If not, follow this link:

  1. Clone the Git repository using 'git clone'
  2. Open the terminal, and browse into the cloned project folder
  3. Run 'cabal update'
  4. Then type 'cabal install' in the terminal
comments powered byDisqus