Every API method requires authentication token to identify the client application doing the request. If this token is not provided, is invalid, or has not been used for more than 20 minutes, all API methods will return the code 401 - Unauthorized.
The token is passed to all methods by sending the query parameter api_key in the URL as in this example (GET vehicles):
A valid token is obtained by calling the authentication method POST authorize as in the example below:
It is also necessary to set the content type with this header: