API Keys ##
You need an API key to access to web services. The key is a string of alpha-numeric characters that is given to you:
Example of a key
YWxpY2U6Z29vZHdvcmtub3d5b3VjYW5zZWVteXBhc3N3b3Jk==
Since an API key is necessary for user identification and authorization, please contact us before going forward, if you do not have one
It's also important to ask for an API key if you want to test our API on this website
Obtain an API Key ##
Please, click on the following link to obtain an API key.
Basic Authentication ##
Keys are sent to the web service using Basic HTTP authentication. You use the HTTP Authorization header to transmit your API key as in the example below:
Host: api.limonetik.com
Authorization: Basic YWxpY2U6Z29vZHdvcmtub3d5b3VjYW5zZWVteXBhc3N3b3Jk==
Content-Type: application/xml; charset=utf-8
Accept: text/xml
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
This header must be passed along with each request, otherwise, you should expect an HTTP 401 response with the following body:
<Response>
<ReturnCode>9401</ReturnCode>
<ReturnMessage>Unauthorized</ReturnMessage>
</Response>