Skip to main content
GET
List Workforce Contracts
← Own Workforce API Return every contract belonging to one employee, oldest to newest. The employee is required: contracts carry no organization of their own, so there is no free-standing contract list.

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
Employee UUID, from List Workforce EmployeesExample: own_workforce_id=550e8400-e29b-41d4-a716-446655440000

Response

A bare JSON array of contracts, with only the fields needed to place them in time. For the full detail of one contract — hours ratio, category, contract type, end reason — call Get Workforce Contract.
string
Contract UUID. Pass it to List Workforce Remunerations to get the salaries attached to it.
string
YYYY-MM-DD
string | null
YYYY-MM-DD. Null means the contract is open-ended.
An employee can have several contracts, including consecutive ones after a renewal or a change of terms. Do not assume a single current contract.

Example

Successful Response

Common Errors

401 Unauthorized

Cause: the key is invalid, or it does not belong to the organization in x-organization-id — the two are looked up as a pair. A request carrying no credentials at all answers AUTH_REQUIRED instead.

403 Forbidden

Cause: the key’s owner is not an enabled member of the organization in x-organization-id.

404 Not Found

Cause: no employee with that own_workforce_id inside your perimeter. An employee belonging to another organization answers 404, identical to one that does not exist, so the endpoint cannot be used to probe for ids.

422 Unprocessable Entity

Cause: own_workforce_id missing or not a UUID. It is required — omitting it does not return all contracts.

Get contract

Full detail of one contract

List remunerations

Salaries attached to a contract