API Keys

Fleetio's API (application programming interface) allows programmatic access to Fleetio resources (e.g. vehicles, meter entries and fuel entries) so developers can build integrations with 3rd-party and/or internal software systems. In order for a 3rd-party to obtain access to the API, an API Key must first be generated. 

What is an API Key?

An API Key essentially serves as the username and password for the external party accessing your Fleetio data. API keys are directly associated with the user who creates them, therefore all data available through the API will be determined by the permissions of this user.

IMPORTANT: API Keys can be regenerated and/or revoked therefore we strongly recommend that each application or integration connecting to Fleetio be assigned it's own API Key.

Creating an API Key

Click your name in the top right corner of your Fleetio system and then select API Keys.

Next, choose + New API Key and then add a "Label". The "Label" allows you to organize your API Keys so that the purpose of each key is clear. 

To revoke access to the API, select the "Revoke" option from the Actions menu for a specific key.

SECURITY: API Keys should be kept secret therefore we strongly discourage pasting it online or committing it to a repository. 

Account Token

In order for data requests to be fulfilled through the API, an account token must be passed using the Account-Token header. 

Account tokens can quickly be identified directly from the URL from any page in Fleetio. For example, if you're on the Dashboard in Fleetio the URL may look something like https://secure.fleetio.com/abc123/dashboard. In this example, abc123 is the account token. 

Still need help? Contact Us Contact Us