TruckSpy has a restful API allowing you to access your account's data. You can see the API docs here.
In order to access your company's data via the API, you'll need first to create an API Token. You can do this by logging into your TruckSpy account and navigating to Company:
Next, you'll need to click Add in the API Token box:
Then, you'll need to enter your OAuth2.0 redirect URL. If you are providing these credentials to another vendor they can provide you with the correct URL:
Finally, you'll click Create. Now the API tokens table will be populated with your client secret and Id that can be used to make API requests.