Openapi
Return employees, contractors, and interns for an organization. Private details are never included.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
organizationId*stringuuidincludeArchived?string"true""false"kind?string"employee""contractor""intern"limit*integer1 <= value <= 10050managerEmployeeId?stringuuidoffset*integer0 <= value <= 90071992547409910q?stringlength <= 200status?string"onboarding""active""offboarding""ended"teamId?stringuuidReturns employees.
application/jsondata*array<>pagination*curl -X GET 'https://app.localhost/api/v1/organizations/123/employees?includeArchived=true&kind=example&limit=1&managerEmployeeId=123e4567-e89b-12d3-a456-426614174000&offset=1&q=example&status=example&teamId=123e4567-e89b-12d3-a456-426614174000'{ "data": [ { "accountDisabled": true, "archivedAt": "string", "avatarUrl": "string", "companyName": "string", "createdAt": "string", "departmentTeamId": "88604e30-77f8-4dc2-b2ec-3fc0d75dffe6", "departmentTeamName": "string", "displayName": "string", "endDate": {}, "firstName": "string", "hasAppAccess": true, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "jobTitle": "string", "kind": "employee", "kvk": "string", "lastName": "string", "manager": { "avatarUrl": "string", "displayName": "string", "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17", "jobTitle": "string", "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b" }, "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "reportsToEmployeeId": "fce5b852-e2b1-4acc-9be0-b8f61c6cc246", "scheduleCycleAnchor": {}, "showBirthday": true, "showWorkAnniversary": true, "startDate": {}, "status": "onboarding", "timezone": "string", "updatedAt": "string", "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b", "vatId": "string", "workEmail": "string" } ], "pagination": { "hasMore": true, "limit": 1, "offset": 0, "total": 0, "totalIsEstimate": true }}