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.
Calendar
Your organization's calendar: time off, office and remote days, meetings and interviews, invitees and their answers, and time-off approval.
Overview
/business/calendar/events reads and writes the same calendar as Calendar in Worklittle Business. To schedule an interview, create an interview event and invite the candidate.
curl -s "https://api.worklittle.com/business/calendar/events?start=2026-12-01&end=2026-12-31" \
-H "Authorization: Bearer $WORKLITTLE_API_KEY"
Permissions: Manage team calendar to read and change everyone's events and approve time off; View personal calendar reads and changes the key's person's own calendar. Inviting a candidate also needs View candidates. See Business API overview.
Routes
| Method | Path | What it does |
| --- | --- | --- |
| GET | `/business/calendar/events` | List events |
| GET | `/business/calendar/team` | List team |
| POST | `/business/calendar/events` | Create an event |
| GET | `/business/calendar/events/{id}` | Read an event |
| PATCH | `/business/calendar/events/{id}` | Update an event |
| DELETE | `/business/calendar/events/{id}` | Delete an event |
| POST | `/business/calendar/events/{id}/approve` | Approve time off |
| POST | `/business/calendar/events/{id}/deny` | Deny time off |
| GET | `/business/calendar/events/{id}/invitees` | List invitees |
| POST | `/business/calendar/events/{id}/invitees` | Invite someone |
| PUT | `/business/calendar/events/{id}/invitees` | Replace invitees |
| PATCH | `/business/calendar/events/{id}/invitees/{invitee_id}` | Set an invitee's job |
| DELETE | `/business/calendar/events/{id}/invitees/{invitee_id}` | Remove an invitee |
List events
GET /business/calendar/events
Events between two dates: time off, office and remote days, availability and interviews. The response also lists the employees on the calendar. Needs Manage team calendar for everyone's events.
Query parameters:
| Name | Type | Description | | --- | --- | --- | | `start` | string | Required. `YYYY-MM-DD`. | | `end` | string | Required. `YYYY-MM-DD`, not before `start`. | | `employee_id` | string | Only this employee's events. | | `employee_ids` | string | Only these employees' events, comma-separated, up to 100. Pair it with [List team](#list-team) to load one page of people at a time. | | `employees` | string | `none` leaves the `employees` list out, for when you already have it from List team. | | `type` | string | Only these types, comma-separated, e.g. `pto,sick` or `interview`. |
Request:
curl -s "https://api.worklittle.com/business/calendar/events?start=2026-12-01&end=2026-12-31" \
-H "Authorization: Bearer $WORKLITTLE_API_KEY"
Response:
{
"start_date": "2026-12-01",
"end_date": "2026-12-31",
"employees": [
{
"id": "emp_3",
"name": "Rosa Diaz",
"title": "Engineering Manager",
"email": "rosa@lilypad.example",
"department": "Engineering",
"pto_remaining_days": 9
}
],
"entries": [
{
"id": "att_90",
"employee_id": "emp_3",
"type": "interview",
"title": "Phone screen: Avery Chen",
"start_date": "2026-12-02",
"end_date": "2026-12-02",
"start_time_minutes": 600,
"end_time_minutes": 630,
"all_day": false,
"timezone": "America/Chicago",
"recurrence_rule": null,
"notes": null,
"created_by_user_id": "usr_19c2",
"created_at": 1764000000,
"updated_at": 1764000000,
"pending_action": null
}
]
}
The example is shortened. A repeating event is one entry with a recurrence_rule. An event someone else invited an employee to shows on that employee's calendar too, with id EVENT_ID@EMPLOYEE_ID, invited_from_entry_id and invite_response.
List team
GET /business/calendar/team
The people on the team calendar, one page at a time, sorted and filtered on the server. Load each page's events with GET /business/calendar/events?employee_ids=… so a large team never loads at once. Needs Manage team calendar to see everyone.
Query parameters:
| Name | Type | Description | | --- | --- | --- | | `sort` | string | `relevance` (default), `name`, `department` or `title`. Add `_desc` for Z to A, e.g. `name_desc`. Empty values sort last. | | `department` | string | Only this department. Your own row stays in. | | `limit` | integer | People per page, 1 to 100. Default 50. | | `cursor` | string | `next_cursor` from the previous page, with the same `sort` and `department`. | | `today` | string | Your local date, `YYYY-MM-DD`, so `relevance` looks ahead from your day. |
Request:
curl -s "https://api.worklittle.com/business/calendar/team?sort=relevance&limit=50" \
-H "Authorization: Bearer $WORKLITTLE_API_KEY"
Response:
{
"employees": [
{
"id": "emp_1",
"name": "Jordan Hale",
"title": "Recruiter",
"email": "jordan@lilypad.example",
"department": "People"
},
{
"id": "emp_3",
"name": "Rosa Diaz",
"title": "Engineering Manager",
"email": "rosa@lilypad.example",
"department": "Engineering"
}
],
"next_cursor": "eyJvIjo1MCwicyI6InJlbGV2YW5jZSJ9",
"total": 412,
"departments": [
{
"department": "Engineering",
"count": 180
},
{
"department": "People",
"count": 12
}
],
"sort": "relevance",
"self_employee_id": "emp_1"
}
relevance puts you first, then people you have events with in the next two weeks, people in your department, and people with upcoming events. departments counts everyone you can see. When next_cursor is null you have everyone.
Create an event
POST /business/calendar/events
Adds an event to an employee's calendar. Invitees get an email with Accept and Decline links and a calendar file. For an interview, invite the candidate. Needs Manage team calendar (or View personal calendar for the key's person's own calendar).
Body:
| Name | Type | Description |
| --- | --- | --- |
| `type` | string | Required. `in_person`, `remote`, `sick`, `pto`, `available`, `unavailable` or `interview`. |
| `start_date` | string | Required. `YYYY-MM-DD`. |
| `end_date` | string | Defaults to `start_date`. For a repeating event, when the series ends. |
| `employee_id` | string | Whose calendar. Defaults to the key's person's own employee record. |
| `start_time_minutes, end_time_minutes` | integer | string | Minutes after midnight (0 to 1439) or `HH:MM`. Leave out for all day. |
| `timezone` | string | IANA time zone, e.g. `America/Chicago`. |
| `title` | string | Up to 1,024 characters. Defaults to the type's name. |
| `notes` | string | Details. |
| `recurrence_rule` | string | Repeat, e.g. `FREQ=WEEKLY;BYDAY=MO`. |
| `invitees` | array | Up to 50: `{ "kind": "employee" | "candidate" | "email", "id": "…" }` (for `email`, `id` is the address). `sick` and `pto` events can't have invitees. |
| `notify_invitees` | boolean | `false` adds invitees without emailing them. Default `true`. |
Request:
curl -s -X POST "https://api.worklittle.com/business/calendar/events" \
-H "Authorization: Bearer $WORKLITTLE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"employee_id":"EMPLOYEE_ID","type":"interview","title":"Phone screen: Avery Chen","start_date":"2026-12-02","start_time_minutes":600,"end_time_minutes":630,"timezone":"America/Chicago","invitees":[{"kind":"candidate","id":"CANDIDATE_ID"}]}'
Response:
{
"entry": {
"id": "att_90",
"employee_id": "emp_3",
"type": "interview",
"title": "Phone screen: Avery Chen",
"start_date": "2026-12-02",
"end_date": "2026-12-02",
"start_time_minutes": 600,
"end_time_minutes": 630,
"all_day": false,
"timezone": "America/Chicago",
"recurrence_rule": null,
"notes": null,
"created_by_user_id": "usr_19c2",
"created_at": 1764000000,
"updated_at": 1764000000,
"pending_action": null
},
"changes": {
"entries": [
{
"id": "att_90",
"employee_id": "emp_3",
"type": "interview",
"title": "Phone screen: Avery Chen",
"start_date": "2026-12-02",
"end_date": "2026-12-02",
"start_time_minutes": 600,
"end_time_minutes": 630,
"all_day": false,
"timezone": "America/Chicago",
"recurrence_rule": null,
"notes": null,
"created_by_user_id": "usr_19c2",
"created_at": 1764000000,
"updated_at": 1764000000,
"pending_action": null
}
],
"deleted_ids": []
}
}
changes lists every stored event created or changed and every deleted id, so you don't need to list the calendar again. When your organization requires approval for time off, the response has pending: true and a manager approves it.
Read an event
GET /business/calendar/events/{id}
One event.
Request:
curl -s "https://api.worklittle.com/business/calendar/events/EVENT_ID" \
-H "Authorization: Bearer $WORKLITTLE_API_KEY"
Response:
{
"entry": {
"id": "att_90",
"employee_id": "emp_3",
"type": "interview",
"title": "Phone screen: Avery Chen",
"start_date": "2026-12-02",
"end_date": "2026-12-02",
"start_time_minutes": 600,
"end_time_minutes": 630,
"all_day": false,
"timezone": "America/Chicago",
"recurrence_rule": null,
"notes": null,
"created_by_user_id": "usr_19c2",
"created_at": 1764000000,
"updated_at": 1764000000,
"pending_action": null
}
}
Update an event
PATCH /business/calendar/events/{id}
Changes the fields you send, same fields as [Create an event](#create-an-event). One occurrence of a repeating event has the id SERIES_ID~YYYY-MM-DD; say what to change with recurrence_scope: this (that occurrence), following (it and every later one) or all. Updating doesn't email invitees.
Request:
curl -s -X PATCH "https://api.worklittle.com/business/calendar/events/EVENT_ID" \
-H "Authorization: Bearer $WORKLITTLE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"start_time_minutes":660,"end_time_minutes":690}'
Response:
{
"entry": {
"id": "att_90",
"employee_id": "emp_3",
"type": "interview",
"title": "Phone screen: Avery Chen",
"start_date": "2026-12-02",
"end_date": "2026-12-02",
"start_time_minutes": 660,
"end_time_minutes": 690,
"all_day": false,
"timezone": "America/Chicago",
"recurrence_rule": null,
"notes": null,
"created_by_user_id": "usr_19c2",
"created_at": 1764000000,
"updated_at": 1764000000,
"pending_action": null
},
"changes": {
"entries": [
{
"id": "att_90",
"employee_id": "emp_3",
"type": "interview",
"title": "Phone screen: Avery Chen",
"start_date": "2026-12-02",
"end_date": "2026-12-02",
"start_time_minutes": 660,
"end_time_minutes": 690,
"all_day": false,
"timezone": "America/Chicago",
"recurrence_rule": null,
"notes": null,
"created_by_user_id": "usr_19c2",
"created_at": 1764000000,
"updated_at": 1764000000,
"pending_action": null
}
],
"deleted_ids": []
}
}
Delete an event
DELETE /business/calendar/events/{id}
Deletes the event and emails invitees a cancellation. For a repeating event add ?scope=this, following or all.
Request:
curl -s -X DELETE "https://api.worklittle.com/business/calendar/events/EVENT_ID" \
-H "Authorization: Bearer $WORKLITTLE_API_KEY"
Response:
{
"deleted": true,
"id": "att_90",
"changes": {
"entries": [],
"deleted_ids": [
"att_90"
]
}
}
Approve time off
POST /business/calendar/events/{id}/approve
Approves a time-off request (or another change) waiting for a manager. Needs Manage team calendar.
Request:
curl -s -X POST "https://api.worklittle.com/business/calendar/events/EVENT_ID/approve" \
-H "Authorization: Bearer $WORKLITTLE_API_KEY"
Response:
{
"entry": {
"id": "att_90",
"employee_id": "emp_3",
"type": "pto",
"title": "Vacation",
"start_date": "2026-12-02",
"end_date": "2026-12-02",
"start_time_minutes": 600,
"end_time_minutes": 630,
"all_day": false,
"timezone": "America/Chicago",
"recurrence_rule": null,
"notes": null,
"created_by_user_id": "usr_19c2",
"created_at": 1764000000,
"updated_at": 1764000000,
"pending_action": null
},
"changes": {
"entries": [],
"deleted_ids": []
}
}
Deny time off
POST /business/calendar/events/{id}/deny
Turns down a waiting request. Needs Manage team calendar.
Request:
curl -s -X POST "https://api.worklittle.com/business/calendar/events/EVENT_ID/deny" \
-H "Authorization: Bearer $WORKLITTLE_API_KEY"
Response:
{
"entry": {
"id": "att_90",
"employee_id": "emp_3",
"type": "pto",
"title": "Vacation",
"start_date": "2026-12-02",
"end_date": "2026-12-02",
"start_time_minutes": 600,
"end_time_minutes": 630,
"all_day": false,
"timezone": "America/Chicago",
"recurrence_rule": null,
"notes": null,
"created_by_user_id": "usr_19c2",
"created_at": 1764000000,
"updated_at": 1764000000,
"pending_action": null
}
}
List invitees
GET /business/calendar/events/{id}/invitees
Everyone invited and their answer: response is pending, accepted, maybe or declined. email_sent_at and email_error show whether the invitation went out.
Request:
curl -s "https://api.worklittle.com/business/calendar/events/EVENT_ID/invitees" \
-H "Authorization: Bearer $WORKLITTLE_API_KEY"
Response:
{
"invitees": [
{
"id": "inv_41",
"kind": "candidate",
"person_id": "cand_2e7",
"name": "Avery Chen",
"email": "avery@example.com",
"photo_url": null,
"response": "pending",
"responded_at": null,
"email_sent_at": 1764000005,
"email_error": null,
"posted_job_id": "pj_8c21"
}
]
}
Invite someone
POST /business/calendar/events/{id}/invitees
Adds people to the invite list and emails the new ones the invitation. People already invited stay. Invite a candidate with candidate_id and the job_id the interview is for. Send at least one of employee_ids, emails or candidate_id.
Body:
| Name | Type | Description | | --- | --- | --- | | `employee_ids` | string[] | Employees to invite. | | `emails` | string[] | Anyone else, by email. | | `candidate_id` | string | A candidate. Send `job_id` with it (`400` without). | | `job_id` | string | The job a candidate's interview is for. | | `notify` | boolean | `false` adds them without emailing. Default `true`. |
Request:
curl -s -X POST "https://api.worklittle.com/business/calendar/events/EVENT_ID/invitees" \
-H "Authorization: Bearer $WORKLITTLE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"candidate_id":"CANDIDATE_ID","job_id":"JOB_ID"}'
Response:
{
"invitees": [
{
"id": "inv_41",
"kind": "candidate",
"person_id": "cand_2e7",
"name": "Avery Chen",
"email": "avery@example.com",
"photo_url": null,
"response": "pending",
"responded_at": null,
"email_sent_at": 1764000005,
"email_error": null,
"posted_job_id": "pj_8c21"
}
]
}
Replace invitees
PUT /business/calendar/events/{id}/invitees
Sets the whole invite list. New people get the invitation; people you leave out who were already emailed get a cancellation.
Body:
| Name | Type | Description |
| --- | --- | --- |
| `invitees` | array | Required. `{ "kind": "employee" | "candidate" | "email", "id": "…" }` items, up to 50. |
| `notify` | boolean | `false` saves the list without emailing anyone. |
Request:
curl -s -X PUT "https://api.worklittle.com/business/calendar/events/EVENT_ID/invitees" \
-H "Authorization: Bearer $WORKLITTLE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"invitees":[{"kind":"candidate","id":"CANDIDATE_ID"},{"kind":"employee","id":"EMPLOYEE_ID"}]}'
Response:
{
"invitees": [
{
"id": "inv_41",
"kind": "candidate",
"person_id": "cand_2e7",
"name": "Avery Chen",
"email": "avery@example.com",
"photo_url": null,
"response": "pending",
"responded_at": null,
"email_sent_at": 1764000005,
"email_error": null,
"posted_job_id": "pj_8c21"
}
]
}
Set an invitee's job
PATCH /business/calendar/events/{id}/invitees/{invitee_id}
Sets which job a candidate's interview is for.
Body:
| Name | Type | Description | | --- | --- | --- | | `job_id` | string | null | Required. The job, or `null`. |
Request:
curl -s -X PATCH "https://api.worklittle.com/business/calendar/events/EVENT_ID/invitees/INVITEE_ID" \
-H "Authorization: Bearer $WORKLITTLE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"job_id":"JOB_ID"}'
Response:
{
"invitee_id": "inv_41",
"posted_job_id": "pj_8c21"
}
Remove an invitee
DELETE /business/calendar/events/{id}/invitees/{invitee_id}
Takes one person off the event. If they were emailed, they get a cancellation.
Request:
curl -s -X DELETE "https://api.worklittle.com/business/calendar/events/EVENT_ID/invitees/INVITEE_ID" \
-H "Authorization: Bearer $WORKLITTLE_API_KEY"
Response:
{
"deleted": true,
"invitee_id": "inv_41",
"invitees": []
}
Events
attendance.sick_day_marked, attendance.pto_used, attendance.unavailable_marked, attendance.available_marked, attendance.available_on_weekend and attendance.entry_updated are available as webhooks.
MCP tools
list_calendar_events, create_calendar_event, update_calendar_event, delete_calendar_event, invite_to_event, approve_time_off. See Business MCP.
SDK
const month = await wl.business.calendar.events.list({ start: "2026-12-01", end: "2026-12-31" });
await wl.business.calendar.events.create({ type: "pto", start_date: "2026-12-24", end_date: "2026-12-26" });
Python: wl.business.calendar.events.list(start="2026-12-01", end="2026-12-31"). Setup: SDK.
Install the agent skill
Paste this into your coding agent (Claude Code, Cursor, Codex, and others):
set up worklittle.com/SKILL.md