Business Travels API
The Business Travels API allows you to create, retrieve, update, and delete business travel records within your organization. Business travel emissions are part of Scope 3 Category 6 according to the GHG Protocol, covering employee travel for work-related activities.New API: This endpoint is part of the new API architecture with improved design and maintainability.
Key Features
- Travel Records Management: Create and manage business travel records
- Multiple Transport Modes: Support for cars, trains, aircraft, ferries, buses, metro, and more
- Automatic Distance Calculation: Optionally provide origin/destination to auto-calculate distances
- CO2e Calculation: Automatic emissions calculation based on transport type and distance
- Flexible Input: Provide either direct distance or origin/destination addresses
- Pagination Support: Efficiently retrieve large lists of business travels
Authentication
All endpoints require authentication using either:- API Key: Include in
Authorizationheader asBearer {API_KEY} - JWT Token: Include in
Authorizationheader asBearer {JWT_TOKEN}
Headers
All requests must include:Your organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faBearer token for authenticationFormat:
Bearer {API_KEY} or Bearer {JWT_TOKEN}Available Endpoints
List Business Travels
Retrieve all business travels with filtering and pagination
Get Business Travel
Retrieve 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
Business Travel Attributes
Core Information
- travel_date (
date, required): Date of the business travel - transport_type (
string, required): Mode of transport used - distance_km (
number, optional): Distance traveled in kilometers - origin (
string, optional): Starting location address - destination (
string, optional): Ending location address - travel_number (
integer, optional): Number of travelers (1-1000) - round_trip (
boolean, optional): Whether this is a round trip
Transport Types
| Value | Description |
|---|---|
car | Personal or rental car |
train | Rail transport |
aircraft | Air travel |
bus | Bus transport |
metro | Metro/subway |
trolleybus | Electric trolleybus |
motorbike | Motorcycle |
ferry | Ferry/boat |
Vehicle Details (for car/motorbike)
- vehicle_size (
string, optional):small,medium,large,average - fuel_type (
string, optional):petrol,diesel,cng,lpg,unknown,plug_in_hybrid_electric,battery_electric
Flight Details (for aircraft)
- flight_type (
string, optional):domestic,short_haul_international,long_haul_international - cabin_class (
string, optional):economy,premium_economy,business,first,average
Status
- status (
string, read-only):active,pending,error - co2e (
number, read-only): Calculated CO2 equivalent emissions in kg
Workflow
Creating a Business Travel Record
You can create business travel records in two ways: Option 1: With direct distanceResponse Format
Business Travel Object
Pagination Response
Error Handling
Common HTTP Status Codes
| Status | Meaning | Solution |
|---|---|---|
| 200 | Success | - |
| 201 | Created | - |
| 204 | No Content (delete successful) | - |
| 400 | Bad Request | Check request parameters and format |
| 401 | Unauthorized | Verify API key or JWT token |
| 403 | Forbidden | Check organization limits |
| 404 | Not Found | Check resource ID or organization |
| 422 | Validation Error | Review error details in response |
| 500 | Server Error | Contact support if persists |
Error Response Format
Common Error Codes
| Code | Description |
|---|---|
LIMIT_REACHED | Organization has reached maximum business travel records |
BUSINESS_TRAVEL_NOT_FOUND | Business travel record not found |
INVALID_TRAVEL_MODE | Transport type not valid for the specified route |
Use Cases
Track Employee Travel Emissions
Monitor CO2e emissions for all business travel in your organization:Compare Transport Options
Evaluate emissions for different transport modes:GHG Protocol Context
Business travel emissions fall under Scope 3, Category 6 of the GHG Protocol:- Scope 3: Indirect emissions from value chain activities
- Category 6: Business Travel - emissions from employee travel for work purposes
- Air travel
- Rail travel
- Road travel (rental cars, taxis, personal vehicles used for business)
- Other transport modes
Related Documentation
Authentication Guide
Learn how to get your API key and authenticate requests
Employees API
Manage employee data and commuting emissions (Scope 3 Category 7)
Vehicles API
Manage fleet vehicles and their emissions
Logistics API
Calculate emissions for freight and logistics
Rate Limiting
API requests are subject to rate limiting. Include rate limit information from response headers:X-RateLimit-Limit: Maximum requests per minuteX-RateLimit-Remaining: Requests remainingX-RateLimit-Reset: Unix timestamp when limit resets

