Skip to main content
GET
Get Employee

Get Employee

Retrieve a specific employee by their unique identifier. The response includes all commuting periods associated with the employee, allowing you to see their complete commuting history and CO2e calculations.

Request

Headers

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

Path Parameters

string
required
The unique identifier (UUID) of the employeeExample: 550e8400-e29b-41d4-a716-446655440000

Response

string
Unique identifier (UUID)
string | null
Employee’s full name
string | null
Employee’s email address
string
Organization UUID
string | null
Employment status: active, inactive, or terminated
string
Data status: uploaded or loading
array
List of commuting periods with full details
datetime
Timestamp when the employee was created
datetime | null
Timestamp when the employee was last updated

Example

Successful Response

Common Errors

401 Unauthorized

Cause: Missing or invalid API key
Solution: Verify your API key is valid and active.

404 Not Found

Cause: Employee not found or doesn’t belong to your organization
Solution: Verify the employee ID is correct and belongs to your organization.

Use Cases

View Employee Commuting History

See how an employee’s commuting has changed over time:

Calculate Annual Emissions

Get total emissions for a specific year:

Analyze Transport Mode Usage

Understand which transport modes an employee uses:

List Employees

View all employees in your organization

Update Employee

Modify employee details

Delete Employee

Remove an employee

Commuting Periods

Manage commuting periods separately