Skip to content

Instantly share code, notes, and snippets.

@bumble-bee-chuna
Created November 29, 2016 19:14
Show Gist options
  • Save bumble-bee-chuna/1a76b49944f1e2dcea3f0eed3ccbbc75 to your computer and use it in GitHub Desktop.
Save bumble-bee-chuna/1a76b49944f1e2dcea3f0eed3ccbbc75 to your computer and use it in GitHub Desktop.
https://<dc>.api.mailchimp.com/2.0/lists/subscribe.json?apikey=<my_api_key>&id=<my_list_id>&email[email][email protected]&merge_vars[FNAME]=John&merge_vars[LNAME]=Doe&double_optin=false&send_welcome=false
Where <dc> should be replaced with the portion after the dash in your API Key. e.g. "us1", "us2", "uk1", etc.
http://stackoverflow.com/questions/19671676/javascript-mailchimp-api-subscribe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment