In order to use the API you need to authenticate yourself.
Currently only session authentication is enabled for the api.