Supergood | Fleet.io API

Supergood | Fleet.io API

Programmatically access Fleetio fleet asset data, maintenance, inspections, fuel, and driver records with a stable REST API. Supergood builds and operates production-grade, unofficial Fleetio integrations so your team can automate fleet workflows without heavy custom engineering.

Plain English: Fleetio is fleet management software used by businesses to manage vehicles and equipment, drivers/contacts, maintenance and work orders, inspections (DVIR), fuel and costs, and telematics integrations. An unofficial API lets you programmatically pull vehicle lists, assignments, meter readings, service and work order histories, issues/defects, inspection results, and fuel transactions—and push new records or updates back into Fleetio.

For a tech company integrating with Fleetio, this means you can ingest real-time fleet data to power operational dashboards, sync fuel card transactions to accounting, automate maintenance and issue workflows from your product, or enrich your platform with inspection results and telematics location/meter data. You can also push service entries, create issues from sensor alerts, attach photos and documents, and keep stakeholder systems (ERP, analytics, dispatch, telematics) in lockstep.

What is Fleetio?

Fleetio (https://developer.fleetio.com/) is a cloud platform for fleet management that centralizes asset tracking, driver assignments, maintenance, inspections, fuel, and vendor relationships. Teams use Fleetio to control in-service status, track odometer/meter readings, manage work orders and service entries, process fuel and cost data, record DVIR inspections and defects, and integrate with telematics and fuel card providers.

Core product areas include:

  • Vehicle & Equipment Management (assets, VIN/serials, groups, assignments)
  • Maintenance Management (issues/defects, service entries, work orders, reminders)
  • Fuel & Costs (fuel transactions, MPG/consumption, cost reporting)
  • Inspections & DVIR (forms, pass/fail items, defect logging, resolution)
  • Drivers & Contacts (roles, permissions, assignments)
  • Integrations (telematics, fuel cards, vendors)

Common data entities:

  • Vehicles and Equipment (asset metadata, status, meter readings)
  • Drivers/Contacts and Permissions
  • Work Orders and Service Entries
  • Issues/Defects and Resolution history
  • Inspections (DVIR) and Item Results
  • Fuel Entries and Cost Details
  • Odometer/Meter Logs and Locations
  • Vendors, Shops, and Parts/Inventory
  • Reminders (registration, insurance, PM schedules)

The Fleetio Integration Challenge

Fleet teams rely on Fleetio daily, but turning portal-based workflows into API-driven automation can be tricky:

  • Module-specific interfaces: Assets, Maintenance, Inspections, and Fuel each have distinct data models and entitlement rules
  • Enterprise security: SSO, MFA, and role-based controls complicate headless automation for background jobs
  • Portal-first features: Some capabilities (attachments, approvals, custom fields) are optimized for the web app and unevenly documented
  • Coverage gaps and variance: Telematics integrations, inspection schemas, and vendor workflows may differ between accounts, causing mapping complexity
  • Rate limits and pagination: High-volume sync of meter readings, fuel transactions, and inspections requires careful batching and retry logic

How Supergood Creates Fleetio APIs

Supergood reverse-engineers authenticated browser flows and network interactions to deliver a resilient API endpoint layer for your Fleetio tenant.

  • Handles username/password, SSO/OAuth, and MFA (SMS, email, TOTP) securely
  • Maintains session continuity with automated refresh and change detection
  • Normalizes responses so you can integrate once and rely on consistent objects across modules
  • Aligns with customer entitlements and role-based permissions to ensure compliant access

Use Cases

Fleet Data Sync

  • Mirror vehicles/equipment, drivers/contacts, and groups into your internal systems
  • Keep asset metadata, in-service status, and meter readings current for analytics
  • Normalize VINs, custom fields, and location data across telematics providers

Maintenance Automation

  • Create service entries and work orders from fault codes or inspection defects
  • Initiate issues with severity, assignments, and attachments
  • Track status and close-out events to drive SLA alerts and vendor workflows

Fuel and Cost Reporting

  • Pull fuel card transactions to reconcile with ERP (e.g., cost centers, GL codes)
  • Detect anomalies (sudden MPG drops, mismatch in odometer vs. telematics)
  • Push fuel entries with receipts and geolocation for auditability

Driver & Compliance

  • Ingest DVIR inspection results and defects for compliance reporting
  • Sync driver assignments and permissions into dispatch or HR systems
  • Manage reminders for registrations, inspections, and insurance renewals

Available Endpoints

Authentication

POST /sessions: Establish a session using credentials. Supergood manages MFA (SMS, email, TOTP) and SSO/OAuth when enabled. Returns a short-lived auth token maintained by the platform.

curl --request POST \
  --url https://api.supergood.ai/integrations/<integration_id>/sessions \
  --header 'Authorization: Basic <Base64 encoded token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "username": "[email protected]",
    "password": "<password>",
    "mfa": { "type": "totp", "code": "123456" }
  }'

Example response

{
  "authToken": "eyJhbGciOi...",
  "expiresIn": 3600,
  "user": {
    "id": "u_5db61e",
    "name": "Fleet Manager",
    "entitlements": ["vehicles", "maintenance", "inspections", "fuel"]
  }
}

POST /sessions/refresh: Refresh an existing token to keep sessions uninterrupted.

Vehicles

GET /vehicles: List vehicles with filters and summary details.

Query parameters

  • groupId: string
  • status: active | inactive | archived
  • inService: true | false
  • updatedFrom, updatedTo: ISO 8601 timestamps
  • page, pageSize: integers for pagination

Example response

{
  "items": [
    {
      "vehicleId": "vh_27a9c1",
      "name": "Unit 102",
      "vin": "1FTFW1E50PKE12345",
      "licensePlate": "ABC-1234",
      "year": 2023,
      "make": "Ford",
      "model": "F-150",
      "status": "active",
      "inService": true,
      "groupId": "grp_light_duty",
      "meter": {"odometer": 45213.2, "unit": "mi"},
      "assignedDriver": {"contactId": "ct_3a8b12", "name": "Jamie Rivera"},
      "telematics": {
        "provider": "samsara",
        "deviceId": "sam_9093",
        "lastLocation": {"lat": 33.748995, "lon": -84.387982, "timestamp": "2026-01-20T14:10:00Z"}
      },
      "tags": ["Light Duty", "Field Ops"],
      "updatedAt": "2026-01-20T13:45:00Z"
    }
  ],
  "page": 1,
  "pageSize": 50,
  "total": 1
}

Service Entries

POST /vehicles/{vehicleId}/service-entries: Create a new service entry with vendor, line items, and optional attachments.

curl --request POST \
  --url https://api.supergood.ai/integrations/<integration_id>/vehicles/vh_27a9c1/service-entries \
  --header 'Authorization: Bearer <authToken>' \
  --header 'Content-Type: application/json' \
  --data '{
    "serviceDate": "2026-01-21",
    "vendorId": "vnd_5520a7",
    "odometer": 45250,
    "currency": "USD",
    "summary": "Oil change, tire rotation",
    "lineItems": [
      {"serviceTaskId": "st_oil_change", "description": "Synthetic oil", "cost": 95.00},
      {"serviceTaskId": "st_tire_rotation", "description": "Rotate tires", "cost": 30.00}
    ],
    "attachments": [
      {"fileName": "receipt.pdf", "uploadToken": "upl_08ab73"}
    ],
    "referenceId": "wo-23115"
  }'

Example response

{
  "serviceEntryId": "se_90e412",
  "status": "recorded",
  "vehicleId": "vh_27a9c1",
  "totalCost": 125.00,
  "createdAt": "2026-01-21T10:03:11Z",
  "workOrderId": null,
  "referenceId": "wo-23115"
}

Fuel Entries

POST /vehicles/{vehicleId}/fuel-entries: Log a fuel transaction with odometer and cost details.

curl --request POST \
  --url https://api.supergood.ai/integrations/<integration_id>/vehicles/vh_27a9c1/fuel-entries \
  --header 'Authorization: Bearer <authToken>' \
  --header 'Content-Type: application/json' \
  --data '{
    "transactionDate": "2026-01-21T08:15:00Z",
    "volume": 16.2,
    "unit": "gal",
    "unitPrice": 3.49,
    "totalCost": 56.54,
    "odometer": 45280,
    "fuelType": "gasoline",
    "source": "fuel_card",
    "vendorName": "Shell",
    "cardNumberLast4": "4321",
    "location": {"lat": 33.7489, "lon": -84.3879},
    "receiptUploadToken": null
  }'

Example response

{
  "fuelEntryId": "fe_51af80",
  "vehicleId": "vh_27a9c1",
  "status": "recorded",
  "mpg": 17.3,
  "createdAt": "2026-01-21T11:20:44Z"
}

Issues

PATCH /issues/{issueId}: Update issue status, severity, and resolution details.

curl --request PATCH \
  --url https://api.supergood.ai/integrations/<integration_id>/issues/iss_6c21aa \
  --header 'Authorization: Bearer <authToken>' \
  --header 'Content-Type: application/json' \
  --data '{
    "status": "resolved",
    "severity": "medium",
    "resolutionNotes": "Replaced serpentine belt and tensioner",
    "closedAt": "2026-01-22T16:42:00Z",
    "attachments": [
      {"fileName": "after.jpg", "uploadToken": "upl_7fa223"}
    ]
  }'

Example response

{
  "issueId": "iss_6c21aa",
  "vehicleId": "vh_27a9c1",
  "status": "resolved",
  "severity": "medium",
  "updatedAt": "2026-01-22T16:42:01Z"
}

Get full API Specs →


Technical Specifications

  • Authentication: Username/password with MFA (SMS, email, TOTP) and SSO/OAuth where enabled; supports service accounts or customer-managed credentials
  • Response format: JSON with consistent resource schemas and pagination across modules
  • Rate limits: Tuned for enterprise throughput while honoring customer entitlements and usage controls
  • Session management: Automatic reauth and cookie/session rotation with health checks
  • Data freshness: Near real-time retrieval of vehicles, maintenance, inspections, and fuel objects
  • Security: Encrypted transport, scoped tokens, and audit logging; respects Fleetio role-based permissions
  • Webhooks: Optional asynchronous delivery for long-running workflows (e.g., work order approvals, defect resolutions)

Performance Characteristics

  • Latency: Sub-second responses for list/detail queries under normal load
  • Throughput: Designed for high-volume fleet data sync and fuel transaction processing
  • Reliability: Retry logic, backoff, and idempotency keys minimize duplicate actions
  • Adaptation: Continuous monitoring for UI/API changes with rapid adapter updates

Getting Started

  1. Schedule Integration Assessment

Book a 30-minute session to confirm your modules, licensing, and authentication model.

  1. Supergood Builds and Validates Your API

We deliver a hardened Fleetio adapter tailored to your workflows and entitlements.

  1. Deploy with Monitoring

Go live with continuous monitoring and automatic adjustments as Fleetio evolves.

Schedule Integration Call →


Frequently Asked Questions

Q: Which Fleetio modules can this integration cover?

Supergood supports workflows across commonly used modules such as Asset Management (vehicles/equipment), Maintenance (issues, service entries, work orders, reminders), Inspections (DVIR), Fuel & Costs, and Drivers/Contacts, subject to your licensing and entitlements. We scope coverage during integration assessment.

Q: How are MFA and SSO handled for automation?

We support username/password + MFA (SMS, email, TOTP) and can operate behind SSO/OAuth when enabled. Sessions are refreshed automatically with secure challenge handling.

Q: Can you sync fuel transactions and costs to our ERP?

Yes. We can normalize fuel entries to match your ERP schema (e.g., cost centers, GL accounts) and deliver updates via webhooks or polling while complying with rate and permission constraints.

Q: Do you support inspection forms and DVIR data?

Yes. We can ingest inspection results, defects, and resolutions, including attachments, and map them to your compliance workflows. Availability may vary by account configuration and permissions.

Q: What integration pain points does Supergood address?

We solve for pagination/rate limits at scale, attachment handling, custom field normalization, telematics/meter reconciliation, and permission-aware automation across modules.



Ready to automate your Fleetio workflows?

Supergood can have your Fleetio integration live in days with no ongoing engineering maintenance.

Get Started →

Read more