1) To get apikey
Login to your MailChimp account via http://mailchimp.com
Once logged in to MailChimp, click on the Account Name at the top of the left hand side bar and select Profile.
Click on Extras and a drop down will appear. From here, select API Keys.
Under Your API Keys you’ll find your API Key listed in the table below.
2) To get listid
Navigate to the Lists page.
Click the drop-down menu next to the list you want to work with, and choose Settings.
Click List name & defaults.
Find the List Name heading and look nearby for the List ID.



