I am using MailChimp API 3.0. I am trying to get email lists from the new API and the following works fine.
http://usXX.api.mailchimp.com/3.0/lists/3399JU772?apikey=XXYY3399DDFF87336663-usXX
The API Key and list Id I provided are just fake. But using the above code gets me the list id and related contents. However, I tried to grab just only name of the list using the following code
http://usXX.api.mailchimp.com/3.0/lists?fields=lists.name/99uy6633?apikey=xxxyyyzzzxxxeeee-usXX
and I get the following error
{"type":"http://kb.mailchimp.com/api/error-docs/401-api-key-missing","title":"API Key Missing","status":401,"detail":"Your request did not include an API key.","instance":"99hhytt-5444f-453gfgfg-bfgfg4bd-4545ggfg"}
Is there a syntax error? I couldn't find syntax in the documentation except here
I appreciate your help.