List employees
Lists employees the caller can see. Results are filtered by the caller's accessible organizations; many routes paginate via page and limit.
Scope: hr:read
Endpoint: GET /api/employees
Example request
curl "https://app.guliel.com/api/employees?organizationId=value" \
-H "Authorization: Bearer $GULIEL_API_KEY"Query parameters
organizationIdreqstringsearchreqstringincludeInactiveenum<2>true · false
Response (200/201)
employeesreqarray<object>idreqstringThe Counterparty id — an employee is a Counterparty edge.individualIdreqstring | nullnamereqstringemailreqstring | nulldateOfBirthreqstring | nullemploymentStartreqstring | nullFirst day of the earliest employment term.employmentEndreqstring | nullThe LAST EMPLOYED DAY; null while any term is open (law 2b).activereqbooleanSome employment term covers today.currentTermreqobject | nullThe open term, else the most recent closed one.employeeCodereqstring | nullThis tenant's employee number — unique per org, never reassigned (law 30).genderreqenum<3> | nullStatutory eligibility input; MANAGER write, member read.probationEndsOnreqstring | nullProbation end (exclusive).inProbationreqbooleanFold: employmentStart ≤ today < probationEndsOn.maskedNationalIdreqstring | nullThe DEFAULT projection of the national identifier (law 32) — the mask, on every surface including lists, exports, MCP and the admin panel.nationalIdstringpersonDataobjectphotoAssetIdreqstring | nullselfServiceActivereqboolean
Error responses
400 | Validation |
401 | Unauthenticated |
403 | Forbidden |
500 | Internal |