The FleetUp API uses a simple and intuitive format to manage fleet operations. By following these steps, you can quickly start using our API to access device data, GPS information, and more.API Configuration#
PARAM | VALUE |
---|
base_url * | https://api.fleetup.net |
acctId | Obtain your Account ID from FleetUp |
secret | Obtain your Secret Key of the account from FleetUp |
x-api-key | Obtain your API key from FleetUp |
Generate a Token#
Step 1: Obtain a Token#
Use the POST /token
endpoint to generate a JWT token. This token is valid for 3600 seconds and is required for all subsequent API calls.{
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9..."
}
Invoke the API#
Step 2: Use the Token to Access APIs#
Use the Authorization
header with the JWT token for requests.
For Legacy Users (Using GET /token):Use the token
header with the legacy token.
Example Scripts#
Key Notes#
Token Expiration: Tokens expire after 1 hour. Refresh them before expiration.
Enterprise Users: Only /devices
and /gpsdata
endpoints are supported. Use JWT tokens in the Authorization
header.
Legacy Users: The GET /token
endpoint is deprecated. Migrate to POST /token
for continued access.
Modified at 2025-02-28 09:57:18