Skip to content

TaylorBriggs/mailchimp-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •