Recalculate Employees
Recalculate Employees
Enqueue async emission recalculation for selected employee commuting periods
POST
Recalculate Employees
Recalculate Employees
Enqueue EF-config recalculation for a set of employees’ commuting periods. The endpoint returns202 Accepted immediately and creates one ProcessingJob per requested activity category.
All employee IDs must belong to the caller’s organization. IDs that don’t match are silently dropped. The service resolves every enabled commuting period (
employees_historic) of the owned employees and enqueues them for recalculation.Request
Headers
string
required
Your API key for authenticationExample:
sk_live_1234567890abcdefstring
required
Your organization UUIDExample:
ff4adcc7-8172-45fe-9cf1-e90a6de53aa9Body Parameters
array of strings
required
One or more employee UUIDs to recalculate. Must be non-empty. Maximum 5000 IDs.Example:
["a1b2c3d4-...", "e5f6g7h8-..."]array of strings
required
Activity categories to recalculate. Must be non-empty. Duplicates are silently deduplicated.Allowed values:
employee_commuting— Scope 3 employee commuting emissions
["employee_commuting"]Response
array of strings
UUIDs of the employees that were enqueued (after organization scoping).
integer
Number of employees enqueued.
array of strings
One
ProcessingJob UUID per dispatched activity category.Example
Successful Response
Common Errors
401 Unauthorized
Cause: Missing or invalid API key403 Forbidden
Cause: The authenticated user is not a member of the organization422 Unprocessable Entity
Cause: Invalid activity categoryRelated Endpoints
List Employees
Retrieve employees to find IDs for recalculation
Get Employee
Check updated emissions on a single employee