I suppose you also need to generate signature. The info on it you can find in the API doc.
On Wed, Apr 17, 2013 at 9:13 PM, Kirk Jantzer <kirk.jant...@gmail.com>wrote: > When I do the following: > > > api?command=listTemplates&templatefilter=featured&apikey=******&response=json > > The result is the following (I have tried the API key of a domain admin and > root admin, as well as a cookie session after GUI login - all yielded same > result): > > { "listtemplatesresponse" : > {"uuidList":[],"errorcode":401,"errortext":"unable to verify user > credentials and/or request signature"} } > > > Per this forum post, there was a suggestion to change the case of the > commands - that changed the output, but still didn't work: > > > api?command=listtemplates&templatefilter=featured&apikey=******&response=json > > { "errorresponse" : {"uuidList":[],"errorcode":432,"errortext":"The > given command does not exist"} } > -- Best Regards, Nikita Gubenko