List Business Travels
List Business Travels
Retrieve all business travels with filtering and pagination support
GET
List Business Travels
List Business Travels
Retrieve a paginated list of business travel records in your organization with support for filtering by transport type, status, and date range.Request
Headers
string
required
Your API key for authenticationExample:
sk_live_1234567890abcdefstring
required
Your organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faQuery Parameters
array[string]
Filter by transport typeAvailable values:
car, metro, train, trolleybus, bus, motorbike, aircraft, ferryExample: transport_type[]=train&transport_type[]=aircraftarray[string]
Filter by statusAvailable values:
active, pending, loading, completed, errorExample: status[]=activedate
Filter by minimum travel date (inclusive)Format:
YYYY-MM-DDExample: 2024-01-01date
Filter by maximum travel date (inclusive)Format:
YYYY-MM-DDExample: 2024-12-31string
Search by name (case-insensitive substring match)Example:
offsitearray[string]
Filter by exact name values (multi-select, OR logic)Example:
name[]=Team offsite&name[]=Client visitarray[uuid]
Filter by source file UUID. Pass
00000000-0000-0000-0000-000000000000 to filter for records with no associated file.Example: file_id[]=3fa85f64-5717-4562-b3fc-2c963f66afa6datetime
Filter records created on or after this timestamp (inclusive)Format:
YYYY-MM-DDTHH:MM:SSZdatetime
Filter records created on or before this timestamp (inclusive)Format:
YYYY-MM-DDTHH:MM:SSZstring
Filter by CO2e calculation statusAvailable values:
calculated, not_calculatedstring
Sort field. Prefix with
- for descending order. Can be repeated for multi-sort.Available values: start_date, -start_date, end_date, -end_date, name, -name, created_at, -created_at, updated_at, -updated_atExample: -start_dateinteger
default:"1"
Page number for paginationExample:
2integer
default:"50"
Number of items per page (max 100)Example:
50Response
array[object]
Array of business travel objects
integer
Total number of records matching the filter
integer
Current page number
integer
Number of items per page
string
Hash of the current filter state — use to detect if filters have changed
Example
Successful Response
Common Errors
401 Unauthorized
Cause: Missing or invalid API key403 Forbidden
Cause: The authenticated user is not a member of the organization404 Not Found
Cause: Organization not foundUse Cases
Paginate Through All Records
Group Emissions by Transport Type
Related Endpoints
Get Business Travel
Get a specific business travel by ID
Create Business Travel
Add a new business travel record
Update Business Travel
Modify business travel details
Delete Business Travel
Remove a business travel record