Coding agent documentation index Fetch the complete documentation index at: https://docs.worklittle.com/docs-agent-manifest.json Use this file to discover all available pages before exploring further.

Employees

Your roster: list, add, import, update, merge and remove employees, and keep their job history, feedback and files.

Overview

/business/employees is your roster, the same data as Employees in Worklittle Business. People you hire through your pipeline are added when their application moves to employee.

curl -s "https://api.worklittle.com/business/employees" \
  -H "Authorization: Bearer $WORKLITTLE_API_KEY"

Permissions: View employees to read, See pay and benefits for pay, benefits and files, Add and edit employees to change them. See Business API overview.

Routes

| Method | Path | What it does |
| --- | --- | --- |
| GET | `/business/employees` | List employees |
| POST | `/business/employees` | Add an employee |
| POST | `/business/employees/import` | Import employees |
| POST | `/business/employees/merge` | Merge employees |
| GET | `/business/employees/{id}` | Read an employee |
| PATCH | `/business/employees/{id}` | Update an employee |
| DELETE | `/business/employees/{id}` | Delete an employee |
| GET | `/business/employees/{id}/employment` | List job history |
| POST | `/business/employees/{id}/employment` | Add a role |
| PATCH | `/business/employees/{id}/employment/{period_id}` | Update a role |
| DELETE | `/business/employees/{id}/employment/{period_id}` | Delete a role |
| GET | `/business/employees/{id}/feedback` | List feedback |
| POST | `/business/employees/{id}/feedback` | Add feedback |
| DELETE | `/business/employees/{id}/feedback/{feedback_id}` | Delete feedback |
| GET | `/business/employees/{id}/files` | List files |
| GET | `/business/employees/{id}/files/{kind}` | Download a file |

List employees

GET /business/employees

Your roster. Without limit every employee is returned. Pay and benefit fields come back empty unless the key has See pay and benefits. Needs View employees.

Query parameters:

| Name | Type | Description |
| --- | --- | --- |
| `limit` | integer | 1 to 1,000. |
| `sort` | string | `relevance` (default), `newest`, `oldest`, `asc` or `desc`. |
| `sort_column` | string | With `asc` or `desc`: `name`, `title`, `department`, `location`, `email` or `previous_company`. |

Request:

curl -s "https://api.worklittle.com/business/employees?sort=asc&sort_column=name" \
  -H "Authorization: Bearer $WORKLITTLE_API_KEY"

Response:

{
  "employees": [
    {
      "id": "emp_12",
      "organization_id": "org_7f3a",
      "candidate_id": "cand_2e7",
      "status": "active",
      "name": "Avery Chen",
      "email": "avery@lilypad.example",
      "phone": null,
      "title": "Backend Engineer",
      "department": "Engineering",
      "location_city": "Austin",
      "location_state": "TX",
      "location_country": "US",
      "job_type": "full_time",
      "compensation": {
        "min": 150000,
        "max": 150000,
        "currency": "USD",
        "period": "year"
      },
      "pto": {
        "remaining_days": 12
      },
      "skills": [
        "TypeScript",
        "PostgreSQL"
      ],
      "start_date": "2026-12-01",
      "end_date": null,
      "contract_signed": true,
      "nda_signed": true,
      "created_at": "2026-11-21T15:00:00.000Z",
      "updated_at": "2026-11-21T15:00:00.000Z"
    }
  ],
  "meta": {
    "organization_id": "org_7f3a"
  }
}

The example is shortened; see [Employee fields](#employee-fields).

Add an employee

POST /business/employees

Adds someone to the roster. Pass candidate_id to fill empty fields from a candidate. Usually you don't need this: moving an application to employee does it. Needs Add and edit employees.

Body:

| Name | Type | Description |
| --- | --- | --- |
| `name` | string | Required unless `candidate_id` is sent. Up to 200 characters. |
| `candidate_id` | string | Copy details from this candidate. |
| `email, phone` | string | Contact details. |
| `title, department, manager_employee_id, company_organization_id` | string | Role, department, manager and [team](/business/api/organization#list-teams). |
| `job_type, seniority_level, status` | string | e.g. `full_time`. |
| `location_city, location_state, location_country, home_address, timezone` | string | Where they work and live. |
| `start_date, end_date` | string | ISO dates. `end_reason` says why they left. |
| `compensation` | object | `{ min, max, currency, period }`. |
| `pto, benefits, equity, signing_bonus` | object | Time off and benefits. |
| `skills` | string[] | Skills. |
| `notes, about_summary` | string | Notes about them. |

Request:

curl -s -X POST "https://api.worklittle.com/business/employees" \
  -H "Authorization: Bearer $WORKLITTLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Avery Chen","email":"avery@lilypad.example","title":"Backend Engineer","department":"Engineering","start_date":"2026-12-01"}'

Response:

{
  "employee": {
    "id": "emp_12",
    "organization_id": "org_7f3a",
    "candidate_id": "cand_2e7",
    "name": "Avery Chen",
    "email": "avery@lilypad.example",
    "title": "Backend Engineer",
    "department": "Engineering",
    "manager_employee_id": "emp_3",
    "job_type": "full_time",
    "status": "active",
    "start_date": 1764547200,
    "end_date": null,
    "compensation_json": "{\"min\":150000,\"max\":150000,\"currency\":\"USD\",\"period\":\"year\"}",
    "created_at": 1763737200,
    "updated_at": 1763737200
  }
}

Returns 201. This response is the stored record: dates are Unix seconds and object fields are JSON strings (compensation_json).

Import employees

POST /business/employees/import

Adds many people at once. They are saved as drafts (is_unpublished_table_draft: true) for someone to review in Employees. Needs Add and edit employees.

Body:

| Name | Type | Description |
| --- | --- | --- |
| `employees` | array | Required. Each row: `name` (required), `email`, `phone`, `title`, `department`, `location_city`, `location_state`, `location_country`, `start_date`. |

Request:

curl -s -X POST "https://api.worklittle.com/business/employees/import" \
  -H "Authorization: Bearer $WORKLITTLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"employees":[{"name":"Lee Park","email":"lee@lilypad.example","title":"Designer","start_date":"2027-01-04"}]}'

Response:

{
  "employees": [
    {
      "id": "emp_13",
      "organization_id": "org_7f3a",
      "candidate_id": "cand_2e7",
      "status": "active",
      "name": "Lee Park",
      "email": "avery@lilypad.example",
      "phone": null,
      "title": "Backend Engineer",
      "department": "Engineering",
      "location_city": "Austin",
      "location_state": "TX",
      "location_country": "US",
      "job_type": "full_time",
      "compensation": {
        "min": 150000,
        "max": 150000,
        "currency": "USD",
        "period": "year"
      },
      "pto": {
        "remaining_days": 12
      },
      "skills": [
        "TypeScript",
        "PostgreSQL"
      ],
      "start_date": "2026-12-01",
      "end_date": null,
      "contract_signed": true,
      "nda_signed": true,
      "created_at": "2026-11-21T15:00:00.000Z",
      "updated_at": "2026-11-21T15:00:00.000Z",
      "is_unpublished_table_draft": true
    }
  ],
  "created": 1,
  "errors": []
}

errors lists rows that failed, as text like "Row 2: name is required.".

Merge employees

POST /business/employees/merge

Merges two records of the same person. Send preview: true first. When both are organization members, the plan says requires_member_choice: true and you pass remove_user_id to choose the member to remove (otherwise 409 MERGE_MEMBER_CHOICE). Needs Add and edit employees.

Body:

| Name | Type | Description |
| --- | --- | --- |
| `ids` | string[] | Required. Exactly two employee ids. |
| `preview` | boolean | Return the plan only. |
| `remove_user_id` | string | The member to remove, when asked. |

Request:

curl -s -X POST "https://api.worklittle.com/business/employees/merge" \
  -H "Authorization: Bearer $WORKLITTLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ids":["EMPLOYEE_ID_1","EMPLOYEE_ID_2"],"preview":true}'

Response:

{
  "merge": {
    "kind": "employee",
    "keep_id": "emp_12",
    "drop_id": "emp_19",
    "keep_name": "Avery Chen",
    "drop_name": "Avery C.",
    "merged_name": "Avery Chen",
    "requires_member_choice": false,
    "members": [],
    "remove_user_id": null
  }
}

Without preview: { merge, employee, removed_employee_ids, removed_candidate_ids, removed_user_id }.

Read an employee

GET /business/employees/{id}

One employee, their current role (current_employment) and job history (employment_periods).

Request:

curl -s "https://api.worklittle.com/business/employees/EMPLOYEE_ID" \
  -H "Authorization: Bearer $WORKLITTLE_API_KEY"

Response:

{
  "employee": {
    "id": "emp_12",
    "organization_id": "org_7f3a",
    "candidate_id": "cand_2e7",
    "name": "Avery Chen",
    "email": "avery@lilypad.example",
    "title": "Backend Engineer",
    "department": "Engineering",
    "manager_employee_id": "emp_3",
    "job_type": "full_time",
    "status": "active",
    "start_date": 1764547200,
    "end_date": null,
    "compensation_json": "{\"min\":150000,\"max\":150000,\"currency\":\"USD\",\"period\":\"year\"}",
    "created_at": 1763737200,
    "updated_at": 1763737200
  },
  "linked_candidate_id": "cand_2e7",
  "current_employment": {
    "id": "per_4",
    "employee_id": "emp_12",
    "department": "Engineering",
    "title": "Backend Engineer",
    "company_organization_id": "team_51",
    "start_date": 1764547200,
    "end_date": null,
    "end_reason": null,
    "is_current": true,
    "metadata_json": null,
    "created_at": 1763737200,
    "updated_at": 1763737200
  },
  "employment_periods": [
    {
      "id": "per_4",
      "employee_id": "emp_12",
      "department": "Engineering",
      "title": "Backend Engineer",
      "company_organization_id": "team_51",
      "start_date": 1764547200,
      "end_date": null,
      "end_reason": null,
      "is_current": true,
      "metadata_json": null,
      "created_at": 1763737200,
      "updated_at": 1763737200
    }
  ]
}

The example is shortened.

Update an employee

PATCH /business/employees/{id}

Changes the fields you send, same fields as [Add an employee](#add-an-employee). Needs Add and edit employees.

Request:

curl -s -X PATCH "https://api.worklittle.com/business/employees/EMPLOYEE_ID" \
  -H "Authorization: Bearer $WORKLITTLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title":"Senior Backend Engineer"}'

Response:

{
  "employee": {
    "id": "emp_12",
    "organization_id": "org_7f3a",
    "candidate_id": "cand_2e7",
    "name": "Avery Chen",
    "email": "avery@lilypad.example",
    "title": "Senior Backend Engineer",
    "department": "Engineering",
    "manager_employee_id": "emp_3",
    "job_type": "full_time",
    "status": "active",
    "start_date": 1764547200,
    "end_date": null,
    "compensation_json": "{\"min\":150000,\"max\":150000,\"currency\":\"USD\",\"period\":\"year\"}",
    "created_at": 1763737200,
    "updated_at": 1763737200
  }
}

Delete an employee

DELETE /business/employees/{id}

Removes them from the roster. Needs Add and edit employees.

Request:

curl -s -X DELETE "https://api.worklittle.com/business/employees/EMPLOYEE_ID" \
  -H "Authorization: Bearer $WORKLITTLE_API_KEY"

Response:

{
  "employee": {
    "id": "emp_12",
    "organization_id": "org_7f3a",
    "candidate_id": "cand_2e7",
    "name": "Avery Chen",
    "email": "avery@lilypad.example",
    "title": "Backend Engineer",
    "department": "Engineering",
    "manager_employee_id": "emp_3",
    "job_type": "full_time",
    "status": "active",
    "start_date": 1764547200,
    "end_date": null,
    "compensation_json": "{\"min\":150000,\"max\":150000,\"currency\":\"USD\",\"period\":\"year\"}",
    "created_at": 1763737200,
    "updated_at": 1763737200
  },
  "converted_to_candidate": false
}

List job history

GET /business/employees/{id}/employment

Their roles at your company over time. is_current marks the current one.

Request:

curl -s "https://api.worklittle.com/business/employees/EMPLOYEE_ID/employment" \
  -H "Authorization: Bearer $WORKLITTLE_API_KEY"

Response:

{
  "current_employment": {
    "id": "per_4",
    "employee_id": "emp_12",
    "department": "Engineering",
    "title": "Backend Engineer",
    "company_organization_id": "team_51",
    "start_date": 1764547200,
    "end_date": null,
    "end_reason": null,
    "is_current": true,
    "metadata_json": null,
    "created_at": 1763737200,
    "updated_at": 1763737200
  },
  "employment": [
    {
      "id": "per_4",
      "employee_id": "emp_12",
      "department": "Engineering",
      "title": "Backend Engineer",
      "company_organization_id": "team_51",
      "start_date": 1764547200,
      "end_date": null,
      "end_reason": null,
      "is_current": true,
      "metadata_json": null,
      "created_at": 1763737200,
      "updated_at": 1763737200
    }
  ]
}

Add a role

POST /business/employees/{id}/employment

Records a role they held or hold, such as a promotion. Needs Add and edit employees.

Body:

| Name | Type | Description |
| --- | --- | --- |
| `start_date` | string | Required. ISO date. |
| `title` | string | Up to 200 characters. |
| `department` | string | Up to 200 characters. |
| `company_organization_id` | string | The team. |
| `end_date` | string | ISO date; leave out for the current role. |
| `end_reason` | string | Up to 120 characters. |

Request:

curl -s -X POST "https://api.worklittle.com/business/employees/EMPLOYEE_ID/employment" \
  -H "Authorization: Bearer $WORKLITTLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title":"Senior Backend Engineer","department":"Engineering","start_date":"2027-06-01"}'

Response:

{
  "employment_period": {
    "id": "per_5",
    "employee_id": "emp_12",
    "department": "Engineering",
    "title": "Senior Backend Engineer",
    "company_organization_id": "team_51",
    "start_date": 1780272000,
    "end_date": null,
    "end_reason": null,
    "is_current": true,
    "metadata_json": null,
    "created_at": 1763737200,
    "updated_at": 1763737200
  }
}

Returns 201.

Update a role

PATCH /business/employees/{id}/employment/{period_id}

Changes the fields you send.

Request:

curl -s -X PATCH "https://api.worklittle.com/business/employees/EMPLOYEE_ID/employment/PERIOD_ID" \
  -H "Authorization: Bearer $WORKLITTLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"end_date":"2027-05-31","end_reason":"Promoted"}'

Response:

{
  "employment_period": {
    "id": "per_4",
    "employee_id": "emp_12",
    "department": "Engineering",
    "title": "Backend Engineer",
    "company_organization_id": "team_51",
    "start_date": 1764547200,
    "end_date": 1780185600,
    "end_reason": "Promoted",
    "is_current": false,
    "metadata_json": null,
    "created_at": 1763737200,
    "updated_at": 1763737200
  }
}

Delete a role

DELETE /business/employees/{id}/employment/{period_id}

Deletes the role from their history.

Request:

curl -s -X DELETE "https://api.worklittle.com/business/employees/EMPLOYEE_ID/employment/PERIOD_ID" \
  -H "Authorization: Bearer $WORKLITTLE_API_KEY"

Response:

{
  "deleted": true,
  "employment_period_id": "per_4"
}

List feedback

GET /business/employees/{id}/feedback

Teammates' notes on this employee, each with an optional rating.

Request:

curl -s "https://api.worklittle.com/business/employees/EMPLOYEE_ID/feedback" \
  -H "Authorization: Bearer $WORKLITTLE_API_KEY"

Response:

{
  "feedback": [
    {
      "id": "pf_8",
      "author_user_id": "usr_19c2",
      "feedback": "Shipped the billing migration a week early.",
      "rating": 5,
      "created_at": 1765000000,
      "updated_at": 1765000000
    }
  ]
}

Feedback can't be edited, only added and deleted.

Add feedback

POST /business/employees/{id}/feedback

Adds a note from the key's person. Each call adds a new note. Needs Add and edit employees.

Body:

| Name | Type | Description |
| --- | --- | --- |
| `feedback` | string | Required. Up to 20,000 characters. |
| `rating` | integer | Optional rating. |

Request:

curl -s -X POST "https://api.worklittle.com/business/employees/EMPLOYEE_ID/feedback" \
  -H "Authorization: Bearer $WORKLITTLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"feedback":"Shipped the billing migration a week early.","rating":5}'

Response:

{
  "feedback": {
    "id": "pf_8",
    "organization_id": "org_7f3a",
    "employee_id": "emp_12",
    "author_user_id": "usr_19c2",
    "feedback": "Shipped the billing migration a week early.",
    "rating": 5,
    "metadata_json": null,
    "created_at": 1765000000,
    "updated_at": 1765000000
  }
}

Returns 201.

Delete feedback

DELETE /business/employees/{id}/feedback/{feedback_id}

Deletes one note.

Request:

curl -s -X DELETE "https://api.worklittle.com/business/employees/EMPLOYEE_ID/feedback/FEEDBACK_ID" \
  -H "Authorization: Bearer $WORKLITTLE_API_KEY"

Response:

{
  "deleted": true,
  "feedback_id": "pf_8"
}

List files

GET /business/employees/{id}/files

The employee's contract, NDA, transcripts and other files on their profile. Read-only. Empty unless the key has See pay and benefits. Each file has a download_url.

Request:

curl -s "https://api.worklittle.com/business/employees/EMPLOYEE_ID/files" \
  -H "Authorization: Bearer $WORKLITTLE_API_KEY"

Response:

{
  "files": [
    {
      "kind": "contract",
      "file_name": "avery-chen-contract.pdf",
      "mime": "application/pdf",
      "download_url": "/business/employees/emp_12/files/contract"
    },
    {
      "kind": "nda",
      "file_name": "nda.pdf",
      "mime": "application/pdf",
      "download_url": "/business/employees/emp_12/files/nda"
    }
  ]
}

The example is shortened.

Download a file

GET /business/employees/{id}/files/{kind}

Downloads one file, at the download_url from [List files](#list-files). Transcripts and other files have one more path segment, the file's id (/files/{kind}/{file_id}). Needs See pay and benefits.

Request:

curl -s "https://api.worklittle.com/business/employees/EMPLOYEE_ID/files/contract" \
  -H "Authorization: Bearer $WORKLITTLE_API_KEY"

Response: the file's bytes.

Employee fields

List rows have:

| Field | Description |
| --- | --- |
| `id`, `candidate_id`, `status` | Ids and status |
| `name`, `email`, `phone`, `linkedin`, `github`, `website` | Contact and links |
| `title`, `department`, `job_type`, `workplace_type`, `location_city`, `location_state`, `location_country` | Role and place |
| `compensation`, `equity`, `signing_bonus`, `perks`, `insurance`, `retirement`, `pto`, `compensation_history` | Pay and benefits (needs **See pay and benefits**) |
| `contract_signed`, `nda_signed`, `has_resume_file` | Paperwork |
| `education`, `previous_company`, `skills`, `languages` | Background |
| `start_date`, `end_date`, `last_promotion_date`, `birthday` | ISO dates |
| `notes`, `about_summary` | Notes |
| `stage_key`, `stage_label` | Their pipeline stage, when hired through a job |
| `created_at`, `updated_at` | ISO timestamps |

Single-record responses (GET, POST, PATCH on one employee) return the stored record, with Unix-second dates and JSON-string fields such as compensation_json.

Events

employee.created, employee.updated, employee.title_changed, employee.department_changed, employee.compensation_changed, employee.offboarding and more are available as webhooks. Time off and schedules are on Calendar.

MCP tools

list_employees, get_employee, create_employee, update_employee, delete_employee, list_employment, create_employment, update_employment, delete_employment, list_employee_feedback, create_employee_feedback. See Business MCP.

SDK

const { employees } = await wl.business.employees.list();
await wl.business.employees.employment.create("EMPLOYEE_ID", { title: "Senior Backend Engineer", start_date: "2027-06-01" });

Python: wl.business.employees.list(), wl.business.employees.employment.create("EMPLOYEE_ID", {...}). Setup: SDK.

Install the agent skill

Paste this into your coding agent (Claude Code, Cursor, Codex, and others):

set up worklittle.com/SKILL.md