API Function Overview
In this article, we would like to show you how you can access the features of our API using the REST Webservice.
HTTP requests to our REST API are protected by cookie-based authentication. To receive the session cookie, you must login with your username and password.
curl -X POST https://api.klicktipp.com/account/login.json \ --data-urlencode "username=username" \ --data-urlencode "password=XXXXXXXX" \
The session cookie is returned to you in the HTTP Response Header Set Cookie. The session cookie consists of a name, the session_name, and a value, the sessid. You must include this session cookie in all subsequent requests to our API in the header cookie.
Our API has four return formats. You can have the information from your KlickTipp account returned to you in PHP, XML or JSON. To select a return format, add the name of the data format to the end of the URL. So to return all your double opt-in processes in JSON, run the URL "https://api.klicktipp.com/list.json".