Web Services API – Overview & Getting Started
TripLog's Web Services API lets you integrate TripLog data directly into your own systems. Use it to retrieve trip records, manage users, pull expense data, and more — all via standard HTTP requests and JSON.
Who can use it: The API is available to Enterprise plan subscribers. API access is managed at the organization level by a Primary administrator.
Base URL
All API requests are made to:
https://app.triplog.net/web/api/
Authentication
Every request must include your organization's API key in the Authorization header:
Authorization: apikey YOUR_API_KEY
To generate or retrieve your API key, see How to Generate the API Key.
Keep your API key secure. It grants full read/write access to your organization's data. Do not expose it in client-side code or public repositories.
Request Format
Protocol: HTTPS only
Method: GET or POST depending on the endpoint (noted in each article)
Content-Type:
application/jsonfor POST requests with a request bodyResponse format: JSON
Response Size
Endpoints that return lists (such as /trips and /users) return all matching records in a single response — there is no pagination. For organizations with large data sets, this can result in very large payloads.
To keep response sizes manageable:
Use the available date range parameters to scope your query (e.g.,
startDate/endDateon the Trips endpoint)Avoid querying without filters unless a full data export is intended
HTTP Status Codes
Code | Meaning |
| Success |
| Bad request — check your parameters |
| Unauthorized — missing or invalid API key |
| Forbidden — your plan does not include API access |
| Resource not found |
| Server error — retry after a short delay |
Endpoint | Description |
List and manage users in your organization | |
Real-time location for a user | |
Retrieve trip records with filtering by user and date | |
Get GPS waypoints for a specific trip | |
Trips Approval Management | |
Mileage statistics by user or period | |
Management of User Locations | |
Vehicle records for your organization | |
Expense records | |
Expense Approval Management | |
Receipt images and metadata | |
Create and manage custom tags for trips and expenses | |
Access the audit log for approval records | |
Time tracking records by user and date range | |
Mileage broken down by US state |
