Fleet Advisor Hub - API Keys

IMPORTANT: The Fleet Advisor Hub is currently in closed beta and only available to select Partners.

 

PERMISSIONS: Only Account Owners and Administrators can create, edit, and revoke API Keys.

 

API Keys in the Fleet Advisor Hub allow you to manage API Keys and Account Tokens for your customer accounts.

An API Key allows a 3rd-party system to connect to Fleetio and access or add data.

  • API Keys expire one year (12 months) after creation but can be renewed before the expiration date. If the key expires, it will be revoked.
  • Revoked keys cannot be reactivated. Keys can also be revoked manually.

An Account Token is how a third-party system identifies the correct Fleetio Account (Customer) to interact with. This is used along with the partner API Key to integrate with Fleetio.

TIP: Click here to visit the Fleetio Developer Portal, where you can find guides and resources for using the Fleetio API.

 

Manage API Keys and Account Tokens

To manage Partner API Keys and Customer Account Tokens, click API Keys in the Sidebar Navigation of the Fleet Advisor Hub.

hub-sidebar-apikeys.png

In the API Keys index, you can view and manage the API Keys and Account Tokens for your customer accounts.

API Keys

In the API Keys tab, you can:

  • Click + Add API Key (a) to add a new API Key (see below)
  • Click the Tabs (b) to switch between the API Keys and Account Tokens indexes
  • Use SearchStatus, and Filters (c) to narrow the results shown
  • In each row, you can view the API Key Name, StatusDate Added (d), date and time the key Expires At (e), and the API Key Version (f)
  • Click the More Actions Button (g) for an API Key to renew an expiring key, edit the name or version, or revoke it

hub-apikeys-index.png

Account Tokens

In the Account Tokens tab, you can:

  • Click + Add API Key (a) to add a new API Key (see below)
  • Click the Tabs (b) to switch between the API Keys and Account Tokens indexes
  • Use SearchAccount Status, and Filters (c) to narrow the results shown
  • In each row, you can view the Account NameAccount Status, and Token (d)
  • Hover over a customer and click Copy Token (e) to copy the Account Token to your clipboard

hub-apikeys-tokensindex.png

Add an API Key

To add a new API Key:

  1. Click API Keys in the Sidebar Navigation
  2. Click the + Add API Key button in the API Keys index

hub-apikeys-add.png

  1. Enter an API Key Name, select the API Version, and click Save

hub-apikeys-add-pop.png

  1. Click Copy Token to copy the API Key Token to your clipboard.

IMPORTANT: You will NOT be shown the API Key Token again after exiting this window. Make sure you copy it BEFORE closing the window.
API Keys should be kept secret. Learn more about API Key Security in the Fleetio Developer Portal.

 

hub-apikeys-add-copytoken.png

  1. Click the X in the top right to close the pop-up.

Your API Key will now appear in the API Keys index.

Edit API Keys

Follow the steps below to edit an existing API Key. Only the API Key Name and API Version can be changed.

  1. Click API Keys in the Sidebar Navigation
  2. Locate the API Key in the index
  3. Click the More Actions Button and select Edit

hub-apikeys-edit.png

  1. Make the necessary changes, then click Save

hub-apikeys-edit-pop.png

Renew an API Key

API Keys will expire one year (12 months) after they were created. You can renew an API Key at any time before the expiration date, which will keep the key active for another 12 months from the date of renewal.

IMPORTANT: If an API Key expires, it will be revoked and cannot be renewed. A new API Key will need to be created to replace the expired key.

 

Before an API Key expires, account administrators will receive email notifications indicating the upcoming key expiration. The first email will be sent 90 days before the key expires, and if no action is taken, additional emails will be sent up until the expiration date.

To renew an API Key:

  1. Click API Keys in the Sidebar Navigation
  2. Locate the API Key in the index
  3. Click the More Actions Button and select Renew

hub-apikeys-renew.png

  1. You'll receive a notification on the bottom right of your screen indicating that the renewal was successful

hub-apikeys-renew-pop.png

Revoke an API Key

As stated above, if an API Key expires, it will be revoked, terminating any access or integrations using it. However, at times, you may need to manually revoke an API Key for security reasons or if it is no longer in use.

IMPORTANT: Revoked API Keys cannot be renewed. A new API Key will need to be created to replace a revoked key.

 

To revoke an API Key manually:

  1. Click API Keys in the Sidebar Navigation
  2. Locate the API Key in the index
  3. Click the More Actions Button and select Revoke

hub-apikeys-revoke.png

  1. In the confirmation pop-up, click Revoke to confirm the action
hub-apikeys-revoke-pop.png