Welcome to Cartrack's Delivery API documentation. We often update the documentation, don't forget to bookmark the page. If you have any inquiries or issues, contact one of our sales representatives.
The Cartrack Fleet API uses a Basic Authentication method that must be placed in the header.
For instance, if the administrator account's username is ABCD00001
and the token is
ddd0e192a5a91d47fe2bc0c897002059304bec87755d95ab28ccaf467e31f8aa
then your authorization header should have the following format:
--header `Authorization: Basic ${btoa('username:token')}`
With our examples, our headers become:
--header 'Authorization: Basic QUJDRDAwMDAxOmRkZDBlMTkyYTVhOTFkNDdmZTJiYzBjODk3MDAyMDU5MzA0YmVjODc3NTVkOTVhYjI4Y2NhZjQ2N2UzMWY4YWE='
Find out more on how to generate the token at this link: https://developer.cartrack.com/fleet-api#authentication
You can use your Cartrack account name
and password
to send the request.