Fleetio Integration

In this article:


What Does the Integration Do?

By integrating your Fleetio account with Keycafe, you can quickly connect your entire Fleetio vehicle inventory with each vehicle’s key in Keycafe. When a vehicle is assigned to a driver in Fleetio, a one-time booking for the key is automatically created in Keycafe and access instructions are sent to the driver. The driver will then use a unique code to retrieve the vehicle's key at the SmartBox. Bookings for Fleetio vehicle keys will appear in Keycafe with a Fleetio indicator, and the Keycafe key access instructions and code are shown in the vehicle assignment in Fleetio.

Drivers with Keycafe accounts can use their phone number (and if enabled, their PIN) to access vehicle keys they have been assigned instead of using a new one-time code each time.

After the initial setup, this integration allows for management and automation of vehicle assignments using just Fleetio.

Premium Feature

For enterprise users, third-party integrations are a feature only available on the Premium plan.



How to Set Up the Integration

Setting up your Fleetio and Keycafe integration involves retrieving 3 tokens from your Fleetio account, then linking your accounts and testing the integration.


Retrieving the Fleetio API Key, Account Token, and Webhook Secret Key

We recommend that you copy and paste each of these into a temporary document, in preparation for the next step.


Create a New API Key in Fleetio

An API key enables a third-party system to connect and permit data transfers. You’ll need to generate an API key in Fleetio that will become part of the configuration of the integration with Keycafe. 

  1. Log in to your Fleetio account, select your account name at the top-left of the page, then select Account Settings.


  1. Select Manage API Keys.


  1. Select + Add API Key.


  1. Type in "Keycafe" for the Label and then click Generate API Key. You should see the new API Token in the table.



Get your Fleetio Account Token

An account token is the primary identifier for a third-party system in an API integration and pairs with the API key for complete identification. The Fleetio account token is found in the API Keys page in your Fleetio account settings.

In the Account Tokens section, copy the account token in its entirety and paste it into the same temporary document in which you put the API key. You will need to add this account token in the Keycafe integration configuration.



Create a Fleetio Webhook

A webhook gives you the ability to send an HTTP POST to one or more URLs whenever specific types of events occur in your Fleetio account. All Fleetio webhook events contain data serialized as JSON.

  1. Log in to your Fleetio account, select your account name at the top-left of the page, then select Account Settings.


  1. Select Webhooks.


  1. In the upper-right corner of the page, select + Add Webhook.


  1. On the New Webhook page, copy and paste the following into the URL field:
  1. Enter “Keycafe" for the Description.


  1. Click Select Events, then scroll to the bottom of the page and check each of these boxes: Vehicle Assignment Created, Vehicle Assignment Deleted, and Vehicle Assignment Updated. Click Save.


  1. Back on the Webhooks page, click the small actions button for the new Webhook to display a popup menu and then click View Secret.


  1. Copy the secret key in its entirety and paste it into your temporary document—which also contains the API key and account token.


There should now be three items in your temporary document: the API key, the account token, and secret key. You will add these to your Keycafe account settings.



Link Your Fleetio Account With Your Keycafe Account

Configuring the integration in Keycafe primarily involves adding the three identifiers captured in the task described above.

  1. Login to your Keycafe account.
  2. In the upper-left corner, select + Add.
  3. Select Integration.
  4. Select Fleetio.
  5. Enter the API key, the account token, and secret key from your temporary document.


  1. Select Connect with Fleetio. After a few moments, click on the Integrations tab in Keycafe to see the integration.


Custom Fields

Next, you need to add three custom fields in your Fleetio system settings.

  1. Navigate to your Fleetio Account Settings page and locate the Custom Fields menu item in the System Settings section of the left-side menu.


  1. Select + Add Custom Field in the upper-right corner of the page. On the New Custom Field page, set Record Type to be Vehicle Assignment, and set Data Type to be Text.
  2. Select the Save Custom Field button to create the custom field.


  1. Repeat the steps above to create two more custom fields. The aim is to create these three custom fields:

Record Type

Data Type


Vehicle Assignment


Keycafe Access Instructions

Vehicle Assignment


Keycafe Access Link

Vehicle Assignment


Keycafe Access Code


To view the custom fields in Fleetio settings, navigate to the Custom Fields page and—in the Record Type drop-down—choose Vehicle Assignment in the drop-down menu.



Link a Key to a Fleetio Vehicle

Adding Keys to Keycafe

You will need to add your vehicle keys to the Keycafe system before proceeding with linking a key to a Fleetio vehicle. See Adding a Key.

Now it’s time to link a Fleetio vehicle to a key.

  1. The Integrations tab in Keycafe should now contain an item for the integration. Click on that item to display the Vehicles and About subitems.


  1. To view a list of your Fleetio vehicles, click Vehicles to browse the list on the right side.
  2. Choose a vehicle and click the small key icon.


  1. Type in the name of your Keycafe key and select it from the dropdown list of matching key names.


  1. Select Link to confirm that you want to link this key to this vehicle.
  2. You can choose Automatic or Prompt, which will change how a user is notified when they are assigned a vehicle.which will cause a prompt to appear each time a guest requests access to the keys. Click Update to close the popup window.


Changing Notification Method

You can change between automatic and prompt at anytime by selecting the gear icon next to the vehicle's linked key.


Notification Methods


Whenever a vehicle assignment is created in Fleetio, an email is automatically sent to the driver with instructions on how to access the keys. 


  1. When creating a vehicle assignment in Fleetio, you will see three empty fields for Keycafe Access Instructions, Keycafe Access Link, and Keycafe Access Code. Leave these blank, as they will be automatically populated when the assignment is created.


  1. Once the assignment is created, view the details to see the populated values for Keycafe Access Instructions, Keycafe Access Link, and Keycafe Access Code.


  1. The assignment will also appear in the Bookings tab in Keycafe.




With the Prompt setting, the Keycafe account admin is sent an email with a reminder to create the key access whenever a vehicle is assigned in Fleetio. This allows for customization of the key access.

  1. Once a vehicle has been assigned in Fleetio, find that vehicle within the Fleetio integration in Keycafe and select the calendar icon.


  1. Select the reservation you would like to assign a key access for.


  1. Confirm the date, driver, and contact email for the assignment and select Create Booking.


  1. Customize the booking details as you wish and confirm it by selecting Add.


  1. Navigate to the Bookings tab in Keycafe to confirm.


The assigned driver will receive an email or SMS (depending on the contact method you just selected) with instructions for how to access the key.

Was this article helpful?
0 out of 0 found this helpful