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.
Stages
Your hiring stages: list, add, rename and delete them, and set the email each stage sends.
Overview
Stages are the columns of your hiring pipeline, shared by every job. Each application is in one stage; move it with PATCH /business/applications/{id}.
curl -s "https://api.worklittle.com/business/stages" \
-H "Authorization: Bearer $WORKLITTLE_API_KEY"
Permissions: View candidates to read, Manage candidates to change stages and their emails. See Business API overview.
Routes
| Method | Path | What it does |
| --- | --- | --- |
| GET | `/business/stages` | List stages |
| POST | `/business/stages` | Add a stage |
| PATCH | `/business/stages/{stage_key}` | Update a stage |
| DELETE | `/business/stages/{stage_key}` | Delete a stage |
| GET | `/business/stages/{stage_key}/email-template` | Read a stage's email |
| PATCH | `/business/stages/{stage_key}/email-template` | Update a stage's email |
| POST | `/business/stages/{stage_key}/email-template/preview` | Preview a stage's email |
List stages
GET /business/stages
The organization's hiring stages in pipeline order. locked stages are built in and can't be renamed or deleted. duration_minutes is the default interview length for the stage.
Request:
curl -s "https://api.worklittle.com/business/stages" \
-H "Authorization: Bearer $WORKLITTLE_API_KEY"
Response:
{
"stages": [
{
"stage_key": "sourced",
"stage_label": "Sourced",
"locked": true,
"job_only": false,
"duration_minutes": 30
},
{
"stage_key": "applied",
"stage_label": "Applied",
"locked": true,
"job_only": false,
"duration_minutes": 30
},
{
"stage_key": "rejected",
"stage_label": "Rejected",
"locked": true,
"job_only": false,
"duration_minutes": 30
},
{
"stage_key": "portfolio_review",
"stage_label": "Portfolio review",
"locked": false,
"job_only": false,
"duration_minutes": 45
},
{
"stage_key": "phone_screening",
"stage_label": "Phone screening",
"locked": false,
"job_only": false,
"duration_minutes": 30
}
],
"has_org_stages": true,
"job_stages": []
}
Built-in stages: sourced, applied, rejected, phone_screening, technical_interview, team_match, offer, denied (shown as Withdrawn), employee, offboarding, alumni. Stages you add come after rejected. Which stages a job uses: Read a job's stages.
Add a stage
POST /business/stages
Adds a stage. Its stage_key is made from the label. Stages can't be reordered: a new stage goes after rejected. Needs Manage candidates.
Body:
| Name | Type | Description | | --- | --- | --- | | `label` | string | Required. Up to 160 characters. (`stage_label` also works.) | | `duration_minutes` | integer | Interview length, 5 to 480. | | `job_id` | string | Add the stage for this job only. |
Request:
curl -s -X POST "https://api.worklittle.com/business/stages" \
-H "Authorization: Bearer $WORKLITTLE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"label":"Portfolio review","duration_minutes":45}'
Response:
{
"stage": {
"stage_key": "portfolio_review",
"stage_label": "Portfolio review",
"duration_minutes": 45
}
}
Update a stage
PATCH /business/stages/{stage_key}
Renames a stage you added, or changes any stage's interview length. Built-in stages can't be renamed (400). Needs Manage candidates.
Body:
| Name | Type | Description | | --- | --- | --- | | `label` | string | New name, up to 160 characters. (`stage_label` also works.) | | `duration_minutes` | integer | 5 to 480, rounded to 5. |
Request:
curl -s -X PATCH "https://api.worklittle.com/business/stages/portfolio_review" \
-H "Authorization: Bearer $WORKLITTLE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"label":"Portfolio walkthrough","duration_minutes":60}'
Response:
{
"stage": {
"stage_key": "portfolio_review",
"stage_label": "Portfolio walkthrough",
"duration_minutes": 60
}
}
Delete a stage
DELETE /business/stages/{stage_key}
Deletes a stage you added and moves everyone in it to applied. Built-in stages can't be deleted. Needs Manage candidates.
Request:
curl -s -X DELETE "https://api.worklittle.com/business/stages/portfolio_review" \
-H "Authorization: Bearer $WORKLITTLE_API_KEY"
Response:
{
"moved_count": 3,
"moved_to": "applied"
}
Read a stage's email
GET /business/stages/{stage_key}/email-template
The email this stage sends. send_automatically is true only for applied and rejected, whose emails go out whenever someone is moved into them; every other stage sends only when a move passes send_email: true. The app can keep several versions of a stage's email; template is the one the stage sends (custom: false is the built-in one). Needs View candidates.
Request:
curl -s "https://api.worklittle.com/business/stages/phone_screening/email-template" \
-H "Authorization: Bearer $WORKLITTLE_API_KEY"
Response:
{
"stage_key": "phone_screening",
"send_automatically": false,
"template": {
"id": "tpl_4a1",
"name": "Phone screening email",
"subject": "Next step: phone screen with {{company_name}}",
"body_text": "Hi {{candidate_name}}, thanks for applying to {{job_title}}. We'd like to set up a short call.",
"body_html": "<p>Hi {{candidate_name}}, thanks for applying to {{job_title}}. We'd like to set up a short call.</p>",
"custom": true
}
}
Merge tags filled in when the email is sent include {{candidate_name}}, {{candidate_email}}, {{job_title}}, {{company_name}}, {{pipeline_stage}}, {{your_name}}, {{your_email}}, {{sender_name}}, {{calendar_link}} and {{job_link}} (the job's worklittle.com page, or the company's page when the job isn't live).
Update a stage's email
PATCH /business/stages/{stage_key}/email-template
Saves your organization's own version of this stage's email and makes it the one the stage sends. Fields you leave out keep their current text; sending body_text without body_html clears the HTML body. send_automatically can't be changed (400). Needs Manage candidates.
Body:
| Name | Type | Description |
| --- | --- | --- |
| `subject` | string | Up to 500 characters. |
| `body_text` | string | Plain-text body. |
| `body_html` | string | HTML body. |
| `name` | string | Name of this version in the app. Defaults to "{Stage} email". |
Request:
curl -s -X PATCH "https://api.worklittle.com/business/stages/phone_screening/email-template" \
-H "Authorization: Bearer $WORKLITTLE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"subject":"Let's talk about {{job_title}}"}'
Response:
{
"stage_key": "phone_screening",
"send_automatically": false,
"template": {
"id": "tpl_4a1",
"name": "Phone screening email",
"subject": "Let's talk about {{job_title}}",
"body_text": "Hi {{candidate_name}}, thanks for applying to {{job_title}}. We'd like to set up a short call.",
"body_html": "<p>Hi {{candidate_name}}, thanks for applying to {{job_title}}. We'd like to set up a short call.</p>",
"custom": true
}
}
Preview a stage's email
POST /business/stages/{stage_key}/email-template/preview
Fills in the email for one application so you can check it. Nothing is sent. Needs Manage candidates.
Body:
| Name | Type | Description | | --- | --- | --- | | `application_id` | string | Required. Whose details to fill in. |
Request:
curl -s -X POST "https://api.worklittle.com/business/stages/phone_screening/email-template/preview" \
-H "Authorization: Bearer $WORKLITTLE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"application_id":"APPLICATION_ID"}'
Response:
{
"subject": "Next step: phone screen with Lilypad",
"from_name": "Rosa Diaz",
"from_email": "no-reply@worklittle.com",
"to_name": "Avery Chen",
"to_email": "avery@example.com",
"cc": [],
"body_html": "<p>Hi Avery Chen, thanks for applying to Backend Engineer. We'd like to set up a short call.</p>",
"attachments": []
}
Things to know
Moving someone to employee adds them to Employees. Stage emails go out from Worklittle on your organization's behalf and show in the sent email log. * To make an offer, move the application to offer and send an offer letter as a document for signature.
MCP tools
list_stages, create_stage, update_stage, delete_stage, get_stage_email_template, update_stage_email_template, preview_stage_email_template. See Business MCP.
SDK
const { stages } = await wl.business.stages.list();
await wl.business.stages.emailTemplate.update("phone_screening", { subject: "Let's talk about {{job_title}}" });
Python: wl.business.stages.list(), wl.business.stages.email_template.update(...). Setup: SDK.
Install the agent skill
Paste this into your coding agent (Claude Code, Cursor, Codex, and others):
set up worklittle.com/SKILL.md