How do I set up an API with MailChimp?

Mail Chimp POST / GET Integration Instructions

“Test API Key” – FIRST
Make sure to test that the API KEY given by MailChimp is valid before setting up campaign mappings in Waypoint

Test Post URL:
https://mandrillapp.com/api/1.0/users/info.json?key=“apikey”

invalid key response (In Browser):
{“status”:”error”,”code”:-1,”name”:”Invalid_Key”,”message”:”Invalid API key”}

Test API Key through JSON request:

https://mandrillapp.com/api/docs/users.JSON.html#method-ping

Click TRY IT in Validate an API key and respond to a ping.
Insert the api key between the ” ” and click VERIFY. you will see if the key is valid or invalid in the results response below

If API Key response returns as a valid key continue integration mappings in Waypoint outgoing campaigns
———–
Below is the CORRECT post string to integrate Waypoint Software to MailChimp using a GET/POST Method:

http://<DC>.api.mailchimp.com/1.3/…
—-
Replace <DC> in the post string with last part of API Key AFTER the –
EXAMPLE: apikey=82c9f4ace9516b054f855d2b3e6d44b7-us10
EXAMPLE: <DC> would be replaced with us10 which is the last set of characters after the dash –
EXAMPLE: id=46513c1448
—-
Correct String Format with Example String Added:
http://us10.api.mailchimp.com/1.3/…

Additional Post Variables:
&merge_vars[FNAME]=Firstname
&merge_vars[LNAME]=Lastname
&merge_vars[INTERESTS]=Dogs,Cats,Shoes

More Info on POST / GET integration and the full MailChimp API Library:
https://apidocs.mailchimp.com/api/how-to/serializing.php#ex1
———–
Once you have created your campaign in Waypoint copy the full string (Correct String Above) with your active MailChimp API Key and ID and paste it into the Simple PostURL mapping feature which will create all the data mappings for you automatically.

Good Job, Your good to go! Your data in Waypoint SaaS can start posting through the MailChimp API in a completely automated environment.

Please log in to rate this.
0 people found this helpful.


Category: Outgoing Data

← Faq