Workspaces
| Endpoint | What it does |
|---|---|
List workspacesGET /api/v1/workspaces | The workspaces this connection can open. |
List workspace membersGET /api/v1/workspaces/{workspaceId}/members | The people in a workspace. |
List task statusesGET /api/v1/workspaces/{workspaceId}/statuses | The columns on a workspace’s task board. |
Create workspacePOST /api/v1/workspaces | Create a workspace, with its own agent. |
Rename workspacePATCH /api/v1/workspaces/{workspaceId} | Change a workspace’s name. |
Archive workspacePOST /api/v1/workspaces/{workspaceId}/archive | Hide a workspace and pause its agents and automations. |
Tasks
| Endpoint | What it does |
|---|---|
List tasksGET /api/v1/workspaces/{workspaceId}/tasks | Tasks in one column of a workspace. |
Search tasksGET /api/v1/workspaces/{workspaceId}/tasks/search | Find tasks by words in the title or description. |
Get taskGET /api/v1/tasks/{taskId} | A task’s status, people, tags, due date and notes. |
List task activityGET /api/v1/tasks/{taskId}/events | What has happened on a task. |
List task chatGET /api/v1/tasks/{taskId}/messages | The chat with the agent on a task. |
List source conversationGET /api/v1/tasks/{taskId}/conversation | The email or chat thread a task came from. |
Update taskPATCH /api/v1/tasks/{taskId} | Change a task’s title, status or due date. |
Mark task donePOST /api/v1/tasks/{taskId}/complete | Mark a task done. |
Assign taskPOST /api/v1/tasks/{taskId}/assignees | Choose who a task is assigned to. |
Set task tagsPOST /api/v1/tasks/{taskId}/tags | Set the tags on a task. |
Add notePOST /api/v1/tasks/{taskId}/notes | Add a note the team and the agent can see. |
Delete taskDELETE /api/v1/tasks/{taskId} | Delete a task that is already done. |
Agents
| Endpoint | What it does |
|---|---|
List agentsGET /api/v1/agents | The agents in your workspaces. |
Give an agent a taskPOST /api/v1/agents/{agentId}/tasks | Create a task and have an agent start on it. |
Message the agent on a taskPOST /api/v1/tasks/{taskId}/messages | Send the agent a follow-up on a task. |
List agent runs on a taskGET /api/v1/tasks/{taskId}/runs | Each time an agent worked on a task. |
Get agent runGET /api/v1/runs/{runId} | What an agent run produced, and the actions it proposed. |
Approvals
| Endpoint | What it does |
|---|---|
List pending actionsGET /api/v1/tasks/{taskId}/pending-actions | Actions an agent is waiting for someone to decide on. |
Get pending actionGET /api/v1/pending-actions/{actionId} | The full draft of one proposed action. |
Approve pending actionPOST /api/v1/pending-actions/{actionId}/approve | Let Whirl carry out a proposed action, such as sending a message. |
Reject pending actionPOST /api/v1/pending-actions/{actionId}/reject | Stop a proposed action, a task for a person, or a question. |
Edit pending actionPATCH /api/v1/pending-actions/{actionId} | Change a draft before it is approved. |
Complete human taskPOST /api/v1/pending-actions/{actionId}/complete | Mark done something an agent asked a person to do. |
Answer agent questionPOST /api/v1/pending-actions/{actionId}/answer | Reply to a question an agent asked. |
Reminders
| Endpoint | What it does |
|---|---|
List remindersGET /api/v1/tasks/{taskId}/reminders | Reminders set on a task. |
Set reminderPOST /api/v1/tasks/{taskId}/reminders | Wake the agent on a task at a set time. |
Change reminderPATCH /api/v1/reminders/{reminderId} | Change a reminder’s message or time. |
Cancel reminderDELETE /api/v1/reminders/{reminderId} | Cancel a reminder. |
Handbook
| Endpoint | What it does |
|---|---|
List an agent’s handbookGET /api/v1/agents/{agentId}/instructions | The entries in an agent’s handbook. |
Read a handbook entryGET /api/v1/agent-instructions/{sectionId} | The full text of one handbook entry. |
Edit a handbook entryPATCH /api/v1/agent-instructions/{sectionId} | Edit an entry in an agent’s handbook. |
Reorder an agent’s handbookPOST /api/v1/agents/{agentId}/instructions/reorder | Change the order of an agent’s handbook. |
List the company handbookGET /api/v1/company-handbook | The handbook every agent in the organization follows. |
Read a company handbook entryGET /api/v1/company-handbook/{sectionId} | The full text of one company handbook entry. |
Edit a company handbook entryPATCH /api/v1/company-handbook/{sectionId} | Edit an entry that applies to every agent. |
Reorder the company handbookPOST /api/v1/company-handbook/reorder | Change the order of the company handbook. |
Knowledge
| Endpoint | What it does |
|---|---|
List knowledge sourcesGET /api/v1/knowledge-sources | Links and files an agent can consult. |
Read a knowledge sourceGET /api/v1/knowledge-sources/{sourceId} | Details of one knowledge source. |
Add a knowledge linkPOST /api/v1/knowledge-sources | Add a web page an agent can read. |
Update a knowledge sourcePATCH /api/v1/knowledge-sources/{sourceId} | Change a knowledge source’s name, note or address. |
Remove a knowledge sourceDELETE /api/v1/knowledge-sources/{sourceId} | Remove a link or file from an agent’s knowledge. |
Scheduled tasks
| Endpoint | What it does |
|---|---|
List scheduled tasksGET /api/v1/scheduled-tasks | Prompts an agent runs on a schedule. |
Get scheduled taskGET /api/v1/scheduled-tasks/{scheduledTaskId} | A scheduled task’s prompt, schedule and next run. |
List scheduled task runsGET /api/v1/scheduled-tasks/{scheduledTaskId}/runs | Past runs of a scheduled task. |
Create scheduled taskPOST /api/v1/scheduled-tasks | Have an agent run a prompt on a repeating schedule. |
Update scheduled taskPATCH /api/v1/scheduled-tasks/{scheduledTaskId} | Change a scheduled task’s prompt, schedule or agent. |
Pause scheduled taskPOST /api/v1/scheduled-tasks/{scheduledTaskId}/pause | Stop a scheduled task until it is resumed. |
Resume scheduled taskPOST /api/v1/scheduled-tasks/{scheduledTaskId}/resume | Start a paused scheduled task again. |
Delete scheduled taskDELETE /api/v1/scheduled-tasks/{scheduledTaskId} | Delete a scheduled task. Earlier runs stay. |
Run scheduled task nowPOST /api/v1/scheduled-tasks/{scheduledTaskId}/run | Run a scheduled task once, outside its schedule. |

