FleetUp API Docs
  1. Trip Share
FleetUp API Docs
  • Quick Start
    • Your First API Call
    • Token Expiration
    • Rate Limit
    • Error Codes
  • API Reference
    • Introduction
    • Authentication
      • /token
      • Obtain JWT Token
    • Account & User & Device
      • /account-info
      • /users
      • /drivers/list
      • /devices
      • /devices/status
      • /devices/unlock
      • /devices/driver-overview
      • /devices/engine-hours
      • /devices/fuel-level
      • /devices/odometer
      • /devices/latest-ecu-data
      • /devices/{device-id}
      • /devices/{device-type}
      • /devices/{device-type}/details
      • /devices/{device-type}/history
    • Trips
      • /trips/history
      • /trips/ongoing-trips
    • Trip Share
      • /tripshare/live-eta
        POST
      • /tripshare/partners
        GET
      • /tripshare/share
        POST
    • Alerts
      • /alerts/summary
      • /alerts/history
      • /alerts/bulk-history
      • /fencealerts/fence-names
      • /fencealerts/geo-fencealerts
    • Location
      • Retrieve GPS data within a 24-hour time range
      • /gpsdata/device-last-location
      • /gpsdata/latest
      • /gpsdata/latest/4cj
      • /gpsdata/latest/5ta
      • /bulk-gpsdata
    • Maintenance
      • /maintenance/history
      • /maintenance/indicators
      • /maintenance/settings/indicators
      • /maintenance/settings/measurements
    • Reports
      • /reports/temperature-sensors
      • /reports/{report-key}
    • Geofence
      • Get all fences
      • Get fence detail
      • Retrieve geofence alerts
    • Others
      • /jobs
  • API Guides
    • Retrieve All Devices from an Enterprise
  1. Trip Share

/tripshare/live-eta

POST
/tripshare/live-eta
This API is to share device itineraries with customers (send itinerary links to customers via email or SMS)

Request

Authorization
Add parameter in header
x-api-key
Example:
x-api-key: ********************
Query Params
acctId
number 
required
Account ID
devId
string 
required
Device ID
destination
string 
required
Destination Address
note
string 
optional
Other information, no more than 300 characters
<= 300 characters
phoneNumbers
string 
optional
Recipient's phone #, Start with '+', separate multiple numbers with ';'
emails
string 
optional
Recipient's emails, separate multiple numbers with ';'
radius
number 
optional
Destination radius, default 150 meters, valid value: 100-5000
Header Params
token
string 
required

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/tripshare/live-eta?acctId&devId&destination' \
--header 'token;' \
--header 'x-api-key;'

Responses

🟢200成功
application/json
200 response
Body
message
string 
optional
shortUrl
string 
optional
Example
{
    "message": "string",
    "shortUrl": "string"
}
🟠400请求有误
Modified at 2025-02-28 08:12:14
Previous
/trips/ongoing-trips
Next
/tripshare/partners
Built with