Skip to content

Generated from api/openapi.yaml (OpenAPI 3.1). Base URL: https://api.teemli.com. Auth: Authorization: Bearer <token or tml_ API key>. Errors are application/problem+json; writes accept an Idempotency-Key header.

Tasks (conversations of kind task) and Needs you

GET /v1/orgs/{org}/tasks

Conversations of kind task, most recently active first. Segments map to state.

API keys: needs the agents:read scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
agent_id query string (uuid)
state query active, needs_you, done, failed, stopped, all Task segment: active (working or waiting), needs_you (an open card for me), done, failed (couldn’t finish), stopped, all
limit query integer Page size.
cursor query string Opaque cursor from a previous page’s next_cursor.

Responses

  • 200 A page of tasks — ConversationPage
  • 400 Malformed request (e.g. invalid cursor or filter) — Problem
  • 401 Missing, invalid or expired token — Problem
POST /v1/orgs/{org}/tasks

Creates a task conversation and posts text as its first message; a turn starts.

API keys: needs the agents:run scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.

Request body (JSON)

Field Type Description
agent_id (required) string (uuid)
title string
text (required) string

Responses

  • 201 Task created — ConversationCreated
  • 401 Missing, invalid or expired token — Problem
  • 404 Not found (also returned for rows the caller may not see, and for disabled features) — Problem
  • 422 Invalid input — Problem
GET /v1/orgs/{org}/needs-you

Open cards routed to me, oldest first (my agents’ cards, and the approvals/hand-offs of AI employees I manage, which arrive without conversation_id). Group by agent on the client. Includes non-blocking setup_change cards. laptop lists turns waiting on my laptop: it’s offline (they continue when it reconnects) or its Ask prompt is open (answer it on the laptop). count = cards + laptop.

API keys: needs the agents:read scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.

Responses

  • 200 Open cards and laptop waits — object
  • 401 Missing, invalid or expired token — Problem

Projects (favourites and recent first), teams, and my counts (open, overdue, today, inbox unread)

Section titled “Projects (favourites and recent first), teams, and my counts (open, overdue, today, inbox unread)”
GET /v1/orgs/{org}/tasks/home

API keys: needs the tasks:read scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.

Responses

  • 200 {projects: TaskProject[], teams: {id,name,is_member}[], counts} — object
  • 404 Not found (also returned for rows the caller may not see, and for disabled features) — Problem

People I can see, AI employees shared with me (assignable), and my own agents (“Let X do it”)

Section titled “People I can see, AI employees shared with me (assignable), and my own agents (“Let X do it”)”
GET /v1/orgs/{org}/tasks/directory

API keys: needs the tasks:read scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.

Responses

  • 200 {people: TaskActor[], agents: TaskActor[], my_agents: TaskActor[]} — object

Full-text search (Postgres tsvector, prefix matching) over items and projects you can see

Section titled “Full-text search (Postgres tsvector, prefix matching) over items and projects you can see”
GET /v1/orgs/{org}/tasks/search

API keys: needs the tasks:read scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
q (required) query string
project_id query string (uuid)
include_completed query boolean

Responses

  • 200 {items: TaskItem[], projects: TaskProject[]} — object
GET /v1/orgs/{org}/tasks/tags

API keys: needs the tasks:read scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.

Responses

  • 200 {items: Tag[]}

Create a tag (returns the existing one with the same name)

Section titled “Create a tag (returns the existing one with the same name)”
POST /v1/orgs/{org}/tasks/tags

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.

Request body (JSON)

Field Type Description
name (required) string
color string

Responses

  • 201 Tag

Built-in templates and the organisation’s saved templates

Section titled “Built-in templates and the organisation’s saved templates”
GET /v1/orgs/{org}/tasks/templates

API keys: needs the tasks:read scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.

Responses

  • 200 {builtin: [{key,name,description,icon,color,sections,fields}], org: TaskProject[]}
GET /v1/orgs/{org}/tasks/projects

API keys: needs the tasks:read scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
archived query boolean
templates query boolean
team_id query string (uuid)

Responses

  • 200 {items: TaskProject[]}

Create a project (optionally from a built-in template key or a template project id). Guests and AI employees can’t

Section titled “Create a project (optionally from a built-in template key or a template project id). Guests and AI employees can’t”
POST /v1/orgs/{org}/tasks/projects

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.

Request body (JSON)

Field Type Description
name (required) string
description string
team_id string (uuid)
visibility org, team, private
public_role viewer, commenter, editor
color string
icon string
template string
default_view list, board, timeline, calendar

Responses

  • 201 The project with sections, fields and members — TaskProject
  • 403 Authenticated but not allowed (e.g. unverified email, not the agent’s controller, card routed to someone else) — Problem
  • 422 Invalid input — Problem

A project with sections, custom fields and members

Section titled “A project with sections, custom fields and members”
GET /v1/orgs/{org}/tasks/projects/{id}

API keys: needs the tasks:read scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 TaskProject
  • 404 Not found (also returned for rows the caller may not see, and for disabled features) — Problem

Rename, describe, recolour, change visibility/public role/team, archive, default view (project admins)

Section titled “Rename, describe, recolour, change visibility/public role/team, archive, default view (project admins)”
PATCH /v1/orgs/{org}/tasks/projects/{id}

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 TaskProject
  • 403 Authenticated but not allowed (e.g. unverified email, not the agent’s controller, card routed to someone else) — Problem

Delete a project and the items only it holds (project admins)

Section titled “Delete a project and the items only it holds (project admins)”
DELETE /v1/orgs/{org}/tasks/projects/{id}

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 {deleted}
PUT /v1/orgs/{org}/tasks/projects/{id}/favorite

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 TaskProject

Copy sections, fields, rules and tasks (no dates or assignees) into a template ({name})

Section titled “Copy sections, fields, rules and tasks (no dates or assignees) into a template ({name})”
POST /v1/orgs/{org}/tasks/projects/{id}/save-as-template

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 201 TaskProject

Duplicate a project with its tasks, dates and assignees ({name})

Section titled “Duplicate a project with its tasks, dates and assignees ({name})”
POST /v1/orgs/{org}/tasks/projects/{id}/duplicate

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 201 TaskProject

Add a person, an AI employee shared with you, or a guest by email (guests switch on; they get an email) — project admins

Section titled “Add a person, an AI employee shared with you, or a guest by email (guests switch on; they get an email) — project admins”
POST /v1/orgs/{org}/tasks/projects/{id}/members

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Request body (JSON)

Field Type Description
person_id string (uuid)
agent_id string (uuid)
email string
role viewer, commenter, editor, admin

Responses

  • 201 {member, project}
  • 403 Authenticated but not allowed (e.g. unverified email, not the agent’s controller, card routed to someone else) — Problem

Change a member’s role ({role}); a private project keeps one admin

Section titled “Change a member’s role ({role}); a private project keeps one admin”
PATCH /v1/orgs/{org}/tasks/projects/{id}/members/{member}

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).
member (required) path string (uuid)

Responses

  • 200 TaskProject

Remove a member (admins) or leave (yourself)

Section titled “Remove a member (admins) or leave (yourself)”
DELETE /v1/orgs/{org}/tasks/projects/{id}/members/{member}

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).
member (required) path string (uuid)

Responses

  • 200 {removed}

Add a section ({name, after_id?}) — editors

Section titled “Add a section ({name, after_id?}) — editors”
POST /v1/orgs/{org}/tasks/projects/{id}/sections

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 201 Section

Rename or reorder ({name?, after_id?: uuid|null})

Section titled “Rename or reorder ({name?, after_id?: uuid|null})”
PATCH /v1/orgs/{org}/tasks/sections/{id}

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 Section

Delete a section; its items move to the first remaining section

Section titled “Delete a section; its items move to the first remaining section”
DELETE /v1/orgs/{org}/tasks/sections/{id}

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 TaskProject

Custom field ({name, kind: text|number|select|multi_select|date|person, options?})

Section titled “Custom field ({name, kind: text|number|select|multi_select|date|person, options?})”
POST /v1/orgs/{org}/tasks/projects/{id}/fields

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 201 Field

Rename, change options (full list; keep ids), reorder

Section titled “Rename, change options (full list; keep ids), reorder”
PATCH /v1/orgs/{org}/tasks/fields/{id}

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 Field
DELETE /v1/orgs/{org}/tasks/fields/{id}

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 {deleted}

Top-level items of a project (by section, then position)

Section titled “Top-level items of a project (by section, then position)”
GET /v1/orgs/{org}/tasks/projects/{id}/items

API keys: needs the tasks:read scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).
completed query open, done, all

Responses

  • 200 {items: TaskItem[]}
GET /v1/orgs/{org}/tasks/projects/{id}/rules

API keys: needs the tasks:read scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 {items: TaskRule[]}

A rule: one trigger → 1-10 actions. Runs in the worker as its creator; rules triggered by rules stop after 3 hops

Section titled “A rule: one trigger → 1-10 actions. Runs in the worker as its creator; rules triggered by rules stop after 3 hops”
POST /v1/orgs/{org}/tasks/projects/{id}/rules

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Request body (JSON)

Field Type Description
id string (uuid)
name string
enabled boolean
trigger object
actions array of object
run_count integer
last_run_at string \ null (date-time)

Responses

  • 201 TaskRule
  • 422 Invalid input — Problem

Change a rule (name, enabled, trigger, actions)

Section titled “Change a rule (name, enabled, trigger, actions)”
PATCH /v1/orgs/{org}/tasks/rules/{id}

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 TaskRule
DELETE /v1/orgs/{org}/tasks/rules/{id}

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 {deleted}
GET /v1/orgs/{org}/tasks/projects/{id}/forms

API keys: needs the tasks:read scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 {items: TaskForm[]}
Section titled “A form (public link or organisation-only) whose entries become items”
POST /v1/orgs/{org}/tasks/projects/{id}/forms

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 201 TaskForm
PATCH /v1/orgs/{org}/tasks/forms/{id}

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 TaskForm
DELETE /v1/orgs/{org}/tasks/forms/{id}

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 {deleted}

My saved views (filters, sorts, grouping) of a project

Section titled “My saved views (filters, sorts, grouping) of a project”
GET /v1/orgs/{org}/tasks/projects/{id}/views

API keys: needs the tasks:read scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 {items}
POST /v1/orgs/{org}/tasks/projects/{id}/views

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 201 SavedView
PATCH /v1/orgs/{org}/tasks/views/{id}

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 SavedView
DELETE /v1/orgs/{org}/tasks/views/{id}

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 {deleted}

Items assigned to me (done: the last 30 days)

Section titled “Items assigned to me (done: the last 30 days)”
GET /v1/orgs/{org}/tasks/my-tasks

API keys: needs the tasks:read scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
completed query open, done, all

Responses

  • 200 {items: TaskItem[]}

Create an item, a subtask (parent_id) or a private item (no project). Assigning an AI employee starts its work

Section titled “Create an item, a subtask (parent_id) or a private item (no project). Assigning an AI employee starts its work”
POST /v1/orgs/{org}/tasks/items

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.

Request body (JSON)

Field Type Description
title string
description string
project_id string (uuid)
section_id string (uuid)
parent_id string \ null (uuid)
after_id string (uuid)
completed boolean
assignee object \ null
start_on string \ null (date)
due_on string \ null (date)
priority low, medium, high, urgent, null
custom_fields object
tag_ids array of string (uuid)
recurrence object \ null

Responses

  • 201 TaskItem — TaskItem
  • 422 Invalid input — Problem

Bulk edit ({ids, patch?, section_id?, delete?}) — all or nothing

Section titled “Bulk edit ({ids, patch?, section_id?, delete?}) — all or nothing”
POST /v1/orgs/{org}/tasks/items/bulk

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.

Responses

  • 200 {updated}

An item with my role, parents, subtasks, dependencies, followers and attachments

Section titled “An item with my role, parents, subtasks, dependencies, followers and attachments”
GET /v1/orgs/{org}/tasks/items/{id}

API keys: needs the tasks:read scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 TaskItemDetail
  • 404 Not found (also returned for rows the caller may not see, and for disabled features) — Problem

Change an item (JSON null clears a field; custom_fields merge)

Section titled “Change an item (JSON null clears a field; custom_fields merge)”
PATCH /v1/orgs/{org}/tasks/items/{id}

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Request body (JSON)

Field Type Description
title string
description string
project_id string (uuid)
section_id string (uuid)
parent_id string \ null (uuid)
after_id string (uuid)
completed boolean
assignee object \ null
start_on string \ null (date)
due_on string \ null (date)
priority low, medium, high, urgent, null
custom_fields object
tag_ids array of string (uuid)
recurrence object \ null

Responses

  • 200 TaskItem
  • 403 Authenticated but not allowed (e.g. unverified email, not the agent’s controller, card routed to someone else) — Problem
DELETE /v1/orgs/{org}/tasks/items/{id}

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 {deleted}

Reorder or move to a section ({project_id, section_id?, after_id?}; no after_id = top)

Section titled “Reorder or move to a section ({project_id, section_id?, after_id?}; no after_id = top)”
POST /v1/orgs/{org}/tasks/items/{id}/move

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 TaskItem

Also add to another project ({project_id, section_id?})

Section titled “Also add to another project ({project_id, section_id?})”
POST /v1/orgs/{org}/tasks/items/{id}/projects

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 TaskItem
DELETE /v1/orgs/{org}/tasks/items/{id}/projects/{project}

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).
project (required) path string (uuid)

Responses

  • 200 TaskItem

Follow (no body) or add a follower ({person_id|agent_id}, editors)

Section titled “Follow (no body) or add a follower ({person_id|agent_id}, editors)”
POST /v1/orgs/{org}/tasks/items/{id}/followers

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 TaskItemDetail
DELETE /v1/orgs/{org}/tasks/items/{id}/followers/{principal}

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).
principal (required) path string (uuid)

Responses

  • 200 TaskItemDetail

Blocked by ({blocked_by_id}); cycles are refused

Section titled “Blocked by ({blocked_by_id}); cycles are refused”
POST /v1/orgs/{org}/tasks/items/{id}/dependencies

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 TaskItemDetail
  • 422 Invalid input — Problem
DELETE /v1/orgs/{org}/tasks/items/{id}/dependencies/{other}

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).
other (required) path string (uuid)

Responses

  • 200 TaskItemDetail

Comments and history, oldest first (Story: kind comment|activity)

Section titled “Comments and history, oldest first (Story: kind comment|activity)”
GET /v1/orgs/{org}/tasks/items/{id}/stories

API keys: needs the tasks:read scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 {items: Story[]}

Comment ({text, attachment_ids?}); mentions @Name notify and share; @Riya asks an AI employee; replies reach an AI employee working on the item

Section titled “Comment ({text, attachment_ids?}); mentions @Name notify and share; @Riya asks an AI employee; replies reach an AI employee working on the item”
POST /v1/orgs/{org}/tasks/items/{id}/comments

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 201 Story
PATCH /v1/orgs/{org}/tasks/comments/{id}

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 Story
DELETE /v1/orgs/{org}/tasks/comments/{id}

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 {deleted}
POST /v1/orgs/{org}/tasks/comments/{id}/reactions

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 Story

Attach a file (raw body ≤ 25 MB, the file’s Content-Type) — commenters; stored under the organisation’s prefix

Section titled “Attach a file (raw body ≤ 25 MB, the file’s Content-Type) — commenters; stored under the organisation’s prefix”
POST /v1/orgs/{org}/tasks/items/{id}/attachments

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).
name query string

Request body: application/octet-stream.

Responses

  • 201 Attachment
  • 422 Invalid input — Problem
DELETE /v1/orgs/{org}/tasks/attachments/{id}

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 {deleted}

Download (checked against the item’s access on every request)

Section titled “Download (checked against the item’s access on every request)”
GET /v1/orgs/{org}/tasks/attachments/{id}/content

API keys: needs the tasks:read scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 The bytes

“Let Scout do it” ({agent_id}: your own agent, on an item you own) → {conversation_id, item}

Section titled ““Let Scout do it” ({agent_id}: your own agent, on an item you own) → {conversation_id, item}”
POST /v1/orgs/{org}/tasks/items/{id}/agent

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 201 {conversation_id, item}
  • 422 Invalid input — Problem
DELETE /v1/orgs/{org}/tasks/items/{id}/agent

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 TaskItem

My notifications (assigned, mentioned, commented, completed, due soon, followers, forms, agent updates)

Section titled “My notifications (assigned, mentioned, commented, completed, due soon, followers, forms, agent updates)”
GET /v1/orgs/{org}/tasks/inbox

API keys: needs the tasks:read scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
filter query unread, all, archived

Responses

  • 200 {items: Notification[], unread}
POST /v1/orgs/{org}/tasks/inbox/read-all

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.

Responses

  • 200 {unread}
POST /v1/orgs/{org}/tasks/inbox/{id}/read

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 {unread}
POST /v1/orgs/{org}/tasks/inbox/{id}/archive

API keys: needs the tasks:write scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 {unread}

Asana workspaces ({token} = personal access token, never stored; or {connection_id} = your Asana connection via Composio)

Section titled “Asana workspaces ({token} = personal access token, never stored; or {connection_id} = your Asana connection via Composio)”
POST /v1/orgs/{org}/tasks/import/asana/workspaces

API keys: not available (needs a person signed in to the app).

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.

Responses

  • 200 {workspaces}

Projects of a workspace ({token|connection_id, workspace_gid})

Section titled “Projects of a workspace ({token|connection_id, workspace_gid})”
POST /v1/orgs/{org}/tasks/import/asana/projects

API keys: not available (needs a person signed in to the app).

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.

Responses

  • 200 {projects}

Dry run: counts per project and which assignees match people here by email

Section titled “Dry run: counts per project and which assignees match people here by email”
POST /v1/orgs/{org}/tasks/import/asana/preview

API keys: not available (needs a person signed in to the app).

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.

Responses

  • 200 {projects, people: {matched, unmatched}, totals}

Import (runs in the background as you; progress via GET /tasks/imports/{id} and live task.import.updated)

Section titled “Import (runs in the background as you; progress via GET /tasks/imports/{id} and live task.import.updated)”
POST /v1/orgs/{org}/tasks/import/asana

API keys: not available (needs a person signed in to the app).

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.

Responses

  • 202 {import}
GET /v1/orgs/{org}/tasks/imports/{id}

API keys: not available (needs a person signed in to the app).

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
id (required) path string (uuid) A Tasks object (project, section, field, item, comment, rule, form, view, attachment, notification or import).

Responses

  • 200 Import

CSV columns, row count, sample and a guessed mapping ({csv})

Section titled “CSV columns, row count, sample and a guessed mapping ({csv})”
POST /v1/orgs/{org}/tasks/import/csv/preview

API keys: not available (needs a person signed in to the app).

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.

Responses

  • 200 {columns, rows, sample, mapping}

Import CSV rows ({csv, mapping?, project_id? | new_project_name?})

Section titled “Import CSV rows ({csv, mapping?, project_id? | new_project_name?})”
POST /v1/orgs/{org}/tasks/import/csv

API keys: not available (needs a person signed in to the app).

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.

Responses

  • 201 {project_id, created}

A form’s questions. Public forms need no sign-in; organisation-only forms need a bearer token from that organisation

Section titled “A form’s questions. Public forms need no sign-in; organisation-only forms need a bearer token from that organisation”
GET /v1/forms/{token}

API keys: not available (needs a person signed in to the app).

Parameter In Type Description
token (required) path string

Responses

  • 200 {title, description, org_name, project_name, access, questions, ask_description, ask_due}
  • 404 Not found (also returned for rows the caller may not see, and for disabled features) — Problem

Submit ({title, description?, due_on?, answers, name?, email?}) → a new item in the project, created as the form’s owner (20 a minute per form)

Section titled “Submit ({title, description?, due_on?, answers, name?, email?}) → a new item in the project, created as the form’s owner (20 a minute per form)”
POST /v1/forms/{token}

API keys: not available (needs a person signed in to the app).

Parameter In Type Description
token (required) path string

Responses

  • 201 {ok}
  • 409 Conflicting state (card already answered, duplicate in flight, name taken) — Problem