Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

MailChimp Lambda

A Lambda function for creating MailChimp subscriptions.

Authentication

Set your MailChimp data center, API key, list ID, and username in the .env file. Copy the sample to get started:

$ cp .env.sample .env

Additional details about authenticating with the MailChimp API is available here.

Deployment

There's a handy script included to create your zip archive:

$ npm run zip

Integrate with the AWS API Gateway to access the function via HTTP POST:

$ curl -X POST -H "Content-Type: application/json" \
-d '{ "email": "name@email.com" }' \
YOUR_API_GATEWAY_URL

About

A Lambda function for subscribing to a MailChimp list

Resources

License

Releases

No releases published

Packages

No packages published