To get a token you must first login to your dashboard where you will find your personal api token. If you want to know more about the token (how, why and where) you can check here:
For testing you can make the api requests also via the browser.
A simple API request with the standard values.
Instead of api_token you have to use your personal api token.
In response the API outputs a random kiss gif url.
The api always returns a 200: OK message even for wrong requests, however it gives an error message out with the exact reason should something be wrong.