Skip to main content
GET
List Commuting Periods

List Commuting Periods

Retrieve a paginated list of commuting periods for a specific employee. Each period contains detailed transport information and calculated CO2e emissions.

Request

Headers

string
required
Your API key for authenticationExample: sk_live_1234567890abcdef
string
required
Your organization UUIDExample: a8315ef3-dd50-43f8-b7ce-d839e68d51fa

Query Parameters

string
required
The employee UUID to get commuting periods forExample: 550e8400-e29b-41d4-a716-446655440000
integer
default:"1"
Page number for paginationExample: 1
integer
default:"50"
Number of items per page (max 100)Example: 50

Response

array[object]
Array of commuting period objects
integer
Total number of periods
integer
Current page
integer
Items per page

Example

Successful Response

Common Errors

404 Not Found

Cause: Employee not found

Create Commuting Period

Add a new period

Get Employee

Get employee with all periods