GET /api/v1/company/past-employees
Returns a paginated list of people who previously worked at a company.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
company_id |
string | Yes | Numeric company ID |
page |
integer | No | Page number (default: 1) |
per_page |
integer | No | Results per page (default: 25, max: 50) |
Code examples
curl "https://kooperativa.io/api/v1/company/past-employees?company_id=2135371" \
-H "Authorization: Bearer ik_live_..."const res = await fetch(
"https://kooperativa.io/api/v1/company/past-employees?company_id=2135371",
{ headers: { Authorization: `Bearer ${process.env.KOOPERATIVA_API_KEY}` } }
);
const { results, total } = await res.json();Response
{
"company_id": "2135371",
"results": [
{
"id": "b9847f21-...",
"full_name": "Jane Doe",
"current_title": "VP Engineering at Acme",
"current_company": "Acme Corp"
}
],
"total": 4821,
"page": 1,
"per_page": 25
}