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.

Candidates

The people in your hiring pipeline: list, add, import, update, merge and delete candidates, and manage their files and notes.

Overview

A candidate is a person. Everyone who applies on your careers page becomes one, and you can add people by hand or import them. Each job they are on is an application, which is what moves through your stages. Same data as Candidates in Worklittle Business.

curl -s "https://api.worklittle.com/business/candidates?limit=25&q=engineer" \
  -H "Authorization: Bearer $WORKLITTLE_API_KEY"

Permissions: View candidates to read (See all candidates for every job), Manage candidates to add and edit, Delete candidates to delete and merge, Add notes and Manage notes for notes. A key sees the candidates its person sees in the app. See Business API overview. To apply to jobs as a job seeker, see Apply for jobs.

Routes

| Method | Path | What it does |
| --- | --- | --- |
| GET | `/business/candidates` | List candidates |
| POST | `/business/candidates` | Add a candidate |
| POST | `/business/candidates/import` | Import candidates |
| POST | `/business/candidates/merge` | Merge candidates |
| GET | `/business/candidates/{id}` | Read a candidate |
| PATCH | `/business/candidates/{id}` | Update a candidate |
| DELETE | `/business/candidates/{id}` | Delete a candidate |
| GET | `/business/candidates/{id}/applications` | List a candidate's applications |
| GET | `/business/candidates/{id}/files` | List a candidate's files |
| POST | `/business/candidates/{id}/files` | Add a file |
| GET | `/business/candidates/{id}/files/resume` | Download the résumé |
| GET | `/business/candidates/{id}/files/{file_id}` | Download a file |
| DELETE | `/business/candidates/{id}/files/{file_id}` | Delete a file |
| GET | `/business/candidates/{id}/notes` | List notes |
| POST | `/business/candidates/{id}/notes` | Add a note |
| GET | `/business/candidates/{id}/notes/{note_id}` | Read a note |
| PATCH | `/business/candidates/{id}/notes/{note_id}` | Edit a note |
| DELETE | `/business/candidates/{id}/notes/{note_id}` | Delete a note |

List candidates

GET /business/candidates

People in your pipeline that the key's person can see. Send limit to page; q, location, stage_key and sort apply to paged requests. To list people by job and stage, List applications is simpler. Needs View candidates.

Query parameters:

| Name | Type | Description |
| --- | --- | --- |
| `limit` | integer | 1 to 100 (default 50 when paging). |
| `cursor` | string | `meta.next_cursor` from the previous page. |
| `q` | string | Search names, titles, skills and more. |
| `location` | string | Filter by location text. |
| `stage_key` | string | Only people in this stage (ignored with `job_id`). |
| `job_id` | string | Only people on this job. Rows then include `stage_key`, `stage_label` and the application id as `candidate_job_id`. |
| `sort` | string | `relevance` (default), `newest`, `oldest`, `pipeline`, `asc` or `desc`. |
| `sort_column` | string | With `asc` or `desc`: `name`, `job_title`, `company`, `education`, `location`, `skills`, `languages`, `contact` or `links`. |

Request:

curl -s "https://api.worklittle.com/business/candidates?limit=25&q=engineer" \
  -H "Authorization: Bearer $WORKLITTLE_API_KEY"

Response:

{
  "candidates": [
    {
      "id": "cand_2e7",
      "organization_id": "org_7f3a",
      "name": "Avery Chen",
      "email": "avery@example.com",
      "phone": "+1 512 555 0142",
      "location_city": "Austin",
      "location_state": "TX",
      "location_country": "US",
      "linkedin_url": "https://www.linkedin.com/in/averychen",
      "github_url": null,
      "portfolio_url": null,
      "skills_json": "[\"TypeScript\",\"PostgreSQL\"]",
      "about_summary": "Backend engineer, 5 years on payments APIs.",
      "source": "careers_page",
      "status": "active",
      "created_at": 1763300000,
      "updated_at": 1763628000
    }
  ],
  "meta": {
    "organization_id": "org_7f3a",
    "total": 1,
    "limit": 25,
    "next_cursor": null,
    "sort": "relevance"
  }
}

meta.total is set on the first page only.

Add a candidate

POST /business/candidates

Adds a person by hand and puts them on a job in the sourced stage. No email is sent. Needs Manage candidates.

Body:

| Name | Type | Description |
| --- | --- | --- |
| `name` | string | Required. Up to 200 characters. |
| `job_id` | string | Required. The job to add them to. |
| `email` | string | Optional. |
| `phone` | string | Optional. |

Request:

curl -s -X POST "https://api.worklittle.com/business/candidates" \
  -H "Authorization: Bearer $WORKLITTLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Avery Chen","email":"avery@example.com","job_id":"JOB_ID"}'

Response:

{
  "candidate": {
    "id": "cand_2e7",
    "organization_id": "org_7f3a",
    "name": "Avery Chen",
    "email": "avery@example.com",
    "phone": "+1 512 555 0142",
    "location_city": "Austin",
    "location_state": "TX",
    "location_country": "US",
    "linkedin_url": "https://www.linkedin.com/in/averychen",
    "github_url": null,
    "portfolio_url": null,
    "skills_json": "[\"TypeScript\",\"PostgreSQL\"]",
    "about_summary": "Backend engineer, 5 years on payments APIs.",
    "source": null,
    "status": "active",
    "created_at": 1763300000,
    "updated_at": 1763628000,
    "stage_key": "sourced",
    "stage_label": "Sourced",
    "candidate_job_id": "app_5b10"
  },
  "next_step": "Move their application through your stages with PATCH /business/applications/{id}."
}

candidate_job_id is the new application's id.

Import candidates

POST /business/candidates/import

Adds up to 1,000 people at once; people already in your pipeline are updated and counted in updated. A row without an email gets a placeholder address. Imported people are not put on a job. Needs Manage candidates.

Body:

| Name | Type | Description |
| --- | --- | --- |
| `rows` | array | Required. Each row: `name` (required), `email`, `phone`, `location` (or `location_city`, `location_state`, `location_country`), `linkedin_url`, `github_url`, `portfolio_url`, `skills` (array or comma-separated), `job_title`, `company`, `education`. |

Request:

curl -s -X POST "https://api.worklittle.com/business/candidates/import" \
  -H "Authorization: Bearer $WORKLITTLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"rows":[{"name":"Jordan Hale","email":"jordan@example.com","job_title":"Data Analyst","skills":"SQL, Python"}]}'

Response:

{
  "created": 1,
  "updated": 0,
  "skipped": 0,
  "errors": [],
  "candidates": [
    {
      "id": "cand_9a1",
      "organization_id": "org_7f3a",
      "name": "Jordan Hale",
      "email": "jordan@example.com",
      "phone": "+1 512 555 0142",
      "location_city": "Austin",
      "location_state": "TX",
      "location_country": "US",
      "linkedin_url": "https://www.linkedin.com/in/averychen",
      "github_url": null,
      "portfolio_url": null,
      "skills_json": "[\"TypeScript\",\"PostgreSQL\"]",
      "about_summary": "Backend engineer, 5 years on payments APIs.",
      "source": "careers_page",
      "status": "active",
      "created_at": 1763300000,
      "updated_at": 1763628000,
      "skills": [
        "SQL",
        "Python"
      ]
    }
  ]
}

Rows that fail are listed in errors as { index, message } and the rest are saved.

Merge candidates

POST /business/candidates/merge

Merges two records of the same person into one. Send preview: true first to see who is kept and the merged name without changing anything. Needs Delete candidates.

Body:

| Name | Type | Description |
| --- | --- | --- |
| `ids` | string[] | Required. Exactly two candidate ids. |
| `preview` | boolean | Return the plan only. |
| `remove_user_id` | string | When both people are organization members, the member to remove (the plan says `requires_member_choice: true`). Without it the merge returns `409` `MERGE_MEMBER_CHOICE`. |

Request:

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

Response:

{
  "merge": {
    "kind": "candidate",
    "keep_id": "cand_2e7",
    "drop_id": "cand_3f1",
    "keep_name": "Avery Chen",
    "drop_name": "A. Chen",
    "merged_name": "Avery Chen",
    "requires_member_choice": false,
    "members": [],
    "remove_user_id": null
  }
}

Without preview, the response is { merge, candidate, removed_employee_ids, removed_candidate_ids, removed_user_id }. If both people are also employees, their employee records are merged too and the response has employee.

Read a candidate

GET /business/candidates/{id}

The full profile: contact details, résumé, work history, education, skills, the jobs they are on (applied_for), files and notes. Add include=answers for their application answers.

Request:

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

Response:

{
  "profile": {
    "candidate": {
      "id": "cand_2e7",
      "organization_id": "org_7f3a",
      "name": "Avery Chen",
      "email": "avery@example.com",
      "phone": "+1 512 555 0142",
      "location_city": "Austin",
      "location_state": "TX",
      "location_country": "US",
      "linkedin_url": "https://www.linkedin.com/in/averychen",
      "github_url": null,
      "portfolio_url": null,
      "skills_json": "[\"TypeScript\",\"PostgreSQL\"]",
      "about_summary": "Backend engineer, 5 years on payments APIs.",
      "source": "careers_page",
      "status": "active",
      "created_at": 1763300000,
      "updated_at": 1763628000,
      "skills": [
        "TypeScript",
        "PostgreSQL"
      ]
    },
    "resume": {
      "has_plain": true,
      "has_file": true,
      "file": {
        "name": "avery-chen.pdf",
        "mime": "application/pdf",
        "size": 182044
      }
    },
    "about": {
      "summary": "Backend engineer, 5 years on payments APIs.",
      "text": null,
      "visa_status": null,
      "pronouns": null,
      "timezone": "America/Chicago",
      "home_address": null
    },
    "applied_for": [
      {
        "application_id": "app_5b10",
        "posted_job_id": "pj_8c21",
        "job_title": "Backend Engineer",
        "stage_key": "phone_screening",
        "stage_label": "Phone screening",
        "status": "active",
        "rating": null
      }
    ],
    "experience": [
      {
        "id": "exp_1",
        "title": "Software Engineer",
        "company_name": "Paystack",
        "start_at": 1577836800,
        "end_at": null,
        "is_current": true
      }
    ],
    "education": [
      {
        "id": "edu_1",
        "school_name": "UT Austin",
        "degree": "BS",
        "field_of_study": "Computer Science",
        "start_at": 1420070400,
        "end_at": 1546300800
      }
    ],
    "files": [],
    "notes": [
      {
        "id": "note_77",
        "candidate_id": "cand_2e7",
        "posted_job_id": "pj_8c21",
        "author_user_id": "usr_44aa",
        "visibility": "organization",
        "plain": "Strong on API design. Ask about on-call experience.",
        "body": "Strong on API design. Ask about on-call experience.",
        "attachments": [],
        "metadata": {},
        "resume_pin": null,
        "via_api": true,
        "created_at": 1763640000,
        "updated_at": 1763640000
      }
    ],
    "skills": [
      "TypeScript",
      "PostgreSQL"
    ],
    "languages": [
      "English"
    ]
  },
  "pipeline_stages": [
    {
      "stage_key": "applied",
      "stage_label": "Applied"
    }
  ],
  "has_org_stages": true
}

The example is shortened. In applied_for, application_id is the application id. To download the résumé or a file, use the download_url from [List a candidate's files](#list-a-candidates-files).

Update a candidate

PATCH /business/candidates/{id}

Changes the person's details; fields you leave out stay. To change their stage, move the application instead. Needs Manage candidates.

Body:

| Name | Type | Description |
| --- | --- | --- |
| `name` | string | Up to 200 characters. |
| `email, phone` | string | Send `null` to clear. |
| `location_city, location_state, location_country` | string | Up to 120 characters each. |
| `pronouns, timezone, home_address` | string | About the person. |
| `linkedin_url, github_url, portfolio_url, x_url, huggingface_url, instagram_url, youtube_url, facebook_url, tiktok_url` | string | Profile links. |
| `skills, languages, tags` | string[] | Replace the whole list. |
| `about_summary, about_text, notes_summary` | string | About text. |
| `visa_status, source` | string | Up to 120 characters. |
| `experience` | array | Work history, replaces the list: `title`, `company_name`, `start_at`, `end_at`, `is_current`. |
| `education` | array | Education, replaces the list: `school_name`, `degree`, `field_of_study`, `start_at`, `end_at`. |

Request:

curl -s -X PATCH "https://api.worklittle.com/business/candidates/CANDIDATE_ID" \
  -H "Authorization: Bearer $WORKLITTLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"phone":"+1 512 555 0199","skills":["TypeScript","PostgreSQL","Go"]}'

Response:

{
  "candidates": [
    {
      "id": "cand_2e7",
      "organization_id": "org_7f3a",
      "name": "Avery Chen",
      "email": "avery@example.com",
      "phone": "+1 512 555 0199",
      "location_city": "Austin",
      "location_state": "TX",
      "location_country": "US",
      "linkedin_url": "https://www.linkedin.com/in/averychen",
      "github_url": null,
      "portfolio_url": null,
      "skills_json": "[\"TypeScript\",\"PostgreSQL\"]",
      "about_summary": "Backend engineer, 5 years on payments APIs.",
      "source": "careers_page",
      "status": "active",
      "created_at": 1763300000,
      "updated_at": 1763628000
    }
  ],
  "stage_changed_candidate_job_ids": []
}

Fires candidate.updated.

Delete a candidate

DELETE /business/candidates/{id}

Deletes the person. Needs Delete candidates.

Request:

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

Response:

{
  "candidates": [
    {
      "id": "cand_2e7",
      "organization_id": "org_7f3a",
      "name": "Avery Chen",
      "email": "avery@example.com",
      "phone": "+1 512 555 0142",
      "location_city": "Austin",
      "location_state": "TX",
      "location_country": "US",
      "linkedin_url": "https://www.linkedin.com/in/averychen",
      "github_url": null,
      "portfolio_url": null,
      "skills_json": "[\"TypeScript\",\"PostgreSQL\"]",
      "about_summary": "Backend engineer, 5 years on payments APIs.",
      "source": "careers_page",
      "status": "deleted",
      "created_at": 1763300000,
      "updated_at": 1763628000,
      "deleted_at": 1764000000
    }
  ]
}

Fires candidate.deleted.

List a candidate's applications

GET /business/candidates/{id}/applications

Every job this person is on. Same records as List applications.

Request:

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

Response:

{
  "applications": [
    {
      "id": "app_5b10",
      "candidate_id": "cand_2e7",
      "job_id": "pj_8c21",
      "stage_key": "phone_screening",
      "stage_label": "Phone screening",
      "status": "active",
      "rating": null,
      "created_at": 1763300000,
      "updated_at": 1763628000,
      "last_activity_at": 1763628000,
      "candidate": {
        "id": "cand_2e7",
        "name": "Avery Chen",
        "email": "avery@example.com"
      },
      "job": {
        "id": "pj_8c21",
        "title": "Backend Engineer"
      }
    }
  ]
}

List a candidate's files

GET /business/candidates/{id}/files

Files your team added to the profile, plus the current résumé (kind: "resume"). Files sent with an application are under application files.

Request:

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

Response:

{
  "files": [
    {
      "id": "resume",
      "kind": "resume",
      "file_name": "avery-chen.pdf",
      "mime": "application/pdf",
      "download_url": "/business/candidates/cand_2e7/files/resume"
    },
    {
      "id": "file_12",
      "kind": "other",
      "file_name": "references.pdf",
      "mime": "application/pdf",
      "uploaded_at": 1763700000,
      "download_url": "/business/candidates/cand_2e7/files/file_12"
    }
  ]
}

Add a file

POST /business/candidates/{id}/files

Attaches a file (up to 10 MB, 50 per person). A file that reads as a résumé becomes the résumé when the person has none. Needs Manage candidates.

Body:

| Name | Type | Description |
| --- | --- | --- |
| `file` | object | Required. `{ "filename", "content_base64", "mime" }` (`mime` optional). |

Request:

curl -s -X POST "https://api.worklittle.com/business/candidates/CANDIDATE_ID/files" \
  -H "Authorization: Bearer $WORKLITTLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"file":{"filename":"references.pdf","content_base64":"JVBERi0xLjcK...","mime":"application/pdf"}}'

Response:

{
  "ok": true,
  "id": "file_12",
  "file_name": "references.pdf",
  "kind": "other",
  "stored_as": "file"
}

Download it with GET /business/candidates/{id}/files/{file_id}, using the returned id.

Download the résumé

GET /business/candidates/{id}/files/resume

The person's current résumé file. When they applied with their own Worklittle résumé, that one is returned. Add view=1 to open it in the browser instead of downloading.

Request:

curl -s "https://api.worklittle.com/business/candidates/CANDIDATE_ID/files/resume" \
  -H "Authorization: Bearer $WORKLITTLE_API_KEY"

Response: the file's bytes. 404 when there is no résumé file.

Download a file

GET /business/candidates/{id}/files/{file_id}

One file from the list. Add view=1 to open it in the browser.

Request:

curl -s "https://api.worklittle.com/business/candidates/CANDIDATE_ID/files/FILE_ID" \
  -H "Authorization: Bearer $WORKLITTLE_API_KEY"

Response: the file's bytes.

Delete a file

DELETE /business/candidates/{id}/files/{file_id}

Removes a file your team added. Needs Manage candidates.

Request:

curl -s -X DELETE "https://api.worklittle.com/business/candidates/CANDIDATE_ID/files/FILE_ID" \
  -H "Authorization: Bearer $WORKLITTLE_API_KEY"

Response:

{
  "ok": true,
  "id": "file_12"
}

List notes

GET /business/candidates/{id}/notes

Your team's notes on the person. Notes tied to a job the key's person can't see are left out.

Request:

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

Response:

{
  "notes": [
    {
      "id": "note_77",
      "candidate_id": "cand_2e7",
      "posted_job_id": "pj_8c21",
      "author_user_id": "usr_44aa",
      "visibility": "organization",
      "plain": "Strong on API design. Ask about on-call experience.",
      "body": "Strong on API design. Ask about on-call experience.",
      "attachments": [],
      "metadata": {},
      "resume_pin": null,
      "via_api": true,
      "created_at": 1763640000,
      "updated_at": 1763640000
    }
  ]
}

Add a note

POST /business/candidates/{id}/notes

Adds a note. Needs Add notes.

Body:

| Name | Type | Description |
| --- | --- | --- |
| `note` | string | Required. Up to 2,000 characters. |
| `job_id` | string | Tie the note to one job. |
| `metadata` | object | Your own data. `metadata.resume_pin` `{ x, y }` (0 to 1) pins the note to a spot on the résumé. |

Request:

curl -s -X POST "https://api.worklittle.com/business/candidates/CANDIDATE_ID/notes" \
  -H "Authorization: Bearer $WORKLITTLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"note":"Strong on API design. Ask about on-call experience.","job_id":"JOB_ID"}'

Response:

{
  "note": {
    "id": "note_77",
    "candidate_id": "cand_2e7",
    "posted_job_id": "pj_8c21",
    "author_user_id": "usr_44aa",
    "visibility": "organization",
    "plain": "Strong on API design. Ask about on-call experience.",
    "body": "Strong on API design. Ask about on-call experience.",
    "attachments": [],
    "metadata": {},
    "resume_pin": null,
    "via_api": true,
    "created_at": 1763640000,
    "updated_at": 1763640000
  }
}

Returns 201. Fires candidate.note_created.

Read a note

GET /business/candidates/{id}/notes/{note_id}

One note with its attachments.

Request:

curl -s "https://api.worklittle.com/business/candidates/CANDIDATE_ID/notes/NOTE_ID" \
  -H "Authorization: Bearer $WORKLITTLE_API_KEY"

Response:

{
  "note": {
    "id": "note_77",
    "candidate_id": "cand_2e7",
    "posted_job_id": "pj_8c21",
    "author_user_id": "usr_44aa",
    "visibility": "organization",
    "plain": "Strong on API design. Ask about on-call experience.",
    "body": "Strong on API design. Ask about on-call experience.",
    "attachments": [],
    "metadata": {},
    "resume_pin": null,
    "via_api": true,
    "created_at": 1763640000,
    "updated_at": 1763640000
  }
}

Edit a note

PATCH /business/candidates/{id}/notes/{note_id}

Changes your own note, or anyone's with Manage notes (otherwise 403).

Body:

| Name | Type | Description |
| --- | --- | --- |
| `note` | string | New text. Up to 2,000 characters. |
| `metadata` | object | Replaces the note's metadata. |

Request:

curl -s -X PATCH "https://api.worklittle.com/business/candidates/CANDIDATE_ID/notes/NOTE_ID" \
  -H "Authorization: Bearer $WORKLITTLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"note":"Strong on API design. On-call: yes, two years."}'

Response:

{
  "note": {
    "id": "note_77",
    "candidate_id": "cand_2e7",
    "posted_job_id": "pj_8c21",
    "author_user_id": "usr_44aa",
    "visibility": "organization",
    "plain": "Strong on API design. On-call: yes, two years.",
    "body": "Strong on API design. On-call: yes, two years.",
    "attachments": [],
    "metadata": {},
    "resume_pin": null,
    "via_api": true,
    "created_at": 1763640000,
    "updated_at": 1763640000
  }
}

Delete a note

DELETE /business/candidates/{id}/notes/{note_id}

Deletes your own note, or anyone's with Manage notes.

Request:

curl -s -X DELETE "https://api.worklittle.com/business/candidates/CANDIDATE_ID/notes/NOTE_ID" \
  -H "Authorization: Bearer $WORKLITTLE_API_KEY"

Response:

{
  "deleted": true,
  "note_id": "note_77"
}

Events

candidate.application_submitted, candidate.updated, candidate.deleted, candidate.stage_changed, candidate.became_employee, candidate.note_created and candidate.skills_match are available as webhooks.

MCP tools

list_candidates, get_candidate, create_candidate, update_candidate, delete_candidate, import_candidates, list_candidate_notes, create_candidate_note, update_candidate_note, delete_candidate_note. See Business MCP.

SDK

const { candidates, meta } = await wl.business.candidates.list({ limit: 25, q: "engineer" });
const { profile } = await wl.business.candidates.get("CANDIDATE_ID");
await wl.business.candidates.notes.create("CANDIDATE_ID", { note: "Great call." });

Python: wl.business.candidates.list(limit=25), wl.business.candidates.notes.create("CANDIDATE_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