Skip to content

Last Mile Intelligence

Welcome to the Last Mile Intelligence (LMI) documentation. LMI is a comprehensive platform for delivery optimization, tank monitoring, route management, and operational efficiency.

Web Application

Learn how to use the LMI web application modules including Home, Analytics, Operator, and workspace-specific tools for Sales, Operations, and Finance.

Browse Modules

Data Catalog

Comprehensive guides for managing your data: Customers, Tanks, Orders, Vehicles, Resources, and more.

Explore Data Catalog

Mobile Applications

Documentation for LMI mobile apps: Mobile (driver app), Fleet (loadsheet management), and Service (field service).

View Mobile Apps

Automation & Workflows

Workflow automation with n8n, including getting started guides and custom node documentation for LMI, Samsara, FleetIO, and other systems.

Explore Automation

Build integrations with the LMI REST API. Our API provides programmatic access to customers, orders, tanks, vehicles, optimization, and more.

The API Playground provides:

  • Live request testing — Execute real API calls against staging or production
  • Code generation — Get ready-to-use code snippets in cURL, JavaScript, Python, and more
  • Response inspection — View formatted JSON responses with syntax highlighting
  • Authentication helper — Configure your credentials once and test all endpoints

Contact your organization administrator to get your LMI API credentials:

  • Username: Your Last Mile Username
  • Password: Your Last Mile Password
EnvironmentAPI URLPlayground
Productionhttps://api.lastmile-tei.comOpen Playground
Staginghttps://api.staging.lastmile-tei.comOpen Playground

All API endpoints require Basic Authentication. Include your credentials in the Authorization header:

Terminal window
curl -X GET "https://api.lastmile-tei.com/customers" \
-u "your-username:your-password"

Browse endpoints in the API Reference sidebar or jump directly to a resource in the playground:

ResourceDescriptionTry It
CustomersCustomer records and preferencesPlayground
OrdersOrder management and fulfillmentPlayground
TanksTank monitoring and readingsPlayground
VehiclesVehicle fleet managementPlayground
ResourcesDriver and resource managementPlayground
OptimizationRoute optimization operationsPlayground

For the complete list of endpoints, see the API Reference in the sidebar.