In the first version of the API you needed to access our services using a token. We use the same mechanism in v2.
In the new version of the API it’s done like this:
Authenticate API V2
While you can leave your token to expire, it is still best practise to logout when you are finished.
We have changed how the token handling works in the new version of the API. Previously the token formed part of the URL, but in v2 it is sent as a HTTP Header.
Version 1 API call:
"message": "You have been successfully logged out",
This will return an empty response with HTTP Status 200.