Documentation

Everything from first webhook to filed ticket.

Task360 accepts a report from anywhere, has a model read and rank it, and files it in the right space with the right owner. This page covers each step, the endpoints behind it, and the knobs you control.

Start here

Quickstart

Four steps get you from an empty workspace to bugs landing in a space on their own.

  1. 1Create a space per productA space is one product. Give it a slug — that slug is how every integration addresses it.
  2. 2Set your routing rulesMap category and severity to the developer who should own it. Rules live in Settings → Routing.
  3. 3Point a source at the ingest endpointSupport inbox, in-app form, public report link, or any webhook that can POST JSON.
  4. 4Watch the first report file itselfConfident, unambiguous reports become tasks. Everything else waits in the review queue.

Send your first report

curl -X POST https://your-domain.com/api/ingest \
  -H "content-type: application/json" \
  -H "x-ingest-secret: $INGEST_WEBHOOK_SECRET" \
  -d '{
    "source": "curl",
    "product_slug": "web-app",
    "sender": "someone@customer.com",
    "body": "Checkout returns a 500 when I apply a promo code."
  }'

A 201 means the report was stored and queued for analysis. A 200 means it was a duplicate delivery and the existing report was returned instead.

Model

Core concepts

TermWhat it is
ProductOne thing you ship. Reports resolve to a product, and a product maps to a space.
WorkspaceWhere a product's work lives: its lists, statuses, custom fields and members.
ListA bucket of tasks inside a workspace. Auto-filed bugs land in its All Tasks list.
TaskThe ticket your team works. Carries title, description, priority, status and assignees.
Raw reportThe original message as received, stored verbatim. Never edited — the task is derived from it.
AnalysisThe model's structured read of a raw report: category, severity, summary, confidence, duplicate.

Reports are stored, not parsed away

The full body of every report is written to object storage and the database keeps only the key. Nothing the reporter wrote is lost when the model rewrites it into a ticket.

Inputs

Getting bugs in

Every route below ends in the same place: the report is stored, queued, and analysed. Pick whichever matches the source.

Generic webhook

POST/api/ingestx-ingest-secret
FieldRequiredNotes
sourceYesWhere it came from, e.g. "n8n", "intercom", "curl".
bodyYesThe raw report text.
product_slugNoResolves the product. Omit it and the report goes to review for a human to assign.
external_idNoYour ID for the message. Makes delivery idempotent — see below.
senderNoWho reported it. Shown on the task.
attachmentsNoFiles to carry onto the created task.

Retries are safe

Ingestion is idempotent on source + external_id. Re-sending the same message returns the existing report with deduped: true instead of filing it twice — so an at-least-once webhook sender needs no special handling.

Inbound email

POST/api/email-inx-ingest-secret

Point an inbound-email provider (Postmark, SendGrid, Mailgun) or an n8n flow at this route with the parsed message. The target space comes from space_slug if present, otherwise from the local part of the recipient address after a +:

inbox+web-app@in.your-domain.com   →   space "web-app"

Public report links

Each product can expose a public form at /report/<product>, and any shared intake form lives at /f/<token>. Both are reachable without an account, so you can hand them to customers or testers — they see the form and a confirmation, never your workspace.

The pipeline

How triage works

Every stored report runs through the same sequence. Each step is recorded, so you can always see why a ticket looks the way it does.

  1. 01Claim — the report is locked so two workers never analyse it twice.
  2. 02Retrieve — the body is embedded and compared against past reports for the same product.
  3. 03Triage — the model returns a structured verdict, given those similar reports as context.
  4. 04Record — the verdict and the retrieved context are stored for audit.
  5. 05Route — file the task, or send it to the review queue.

What the model returns

{
  "title": "Checkout 500s when a promo code is applied",
  "category": "backend",
  "severity": "critical",
  "technical_summary": "**What's needed:** ...",
  "confidence": 0.86,
  "possible_duplicate_of": null,
  "duplicate_confidence": 0
}
FieldValues
categoryfrontend · backend · database · ui_ux · devops · qa · content · unclear
severitycritical · high · medium · low
confidence0.0–1.0. Below 0.6 the report goes to a human instead of being filed.
possible_duplicate_ofThe id of a similar past report, or null. Validated against what was actually retrieved — the model cannot invent one.

Severity becomes priority

SeverityTask priority
criticalurgent
highhigh
mediumnormal
lowlow

Control

Routing rules

The model classifies; your rules decide. A rule maps a category — optionally narrowed by severity — to the developer who should own it. Edit them in Settings → Routing without a deploy.

When a report is filed, assignment is resolved in order: the AI’s expertise-and-workload match first, your static rule as the fallback, and if neither resolves, the task is left unassigned for the PM queue.

A rule change is not retroactive

Rules apply at file time. Editing one changes where future bugs go, not where past ones went.

Human in the loop

The review queue

A report stops at /review instead of filing itself whenever there is a genuine judgement call:

ReasonWhat to do
No product resolvedPick the product, then file. Usually means the source didn't send a slug.
Category unclearThe report was too vague to classify. File it with a correction, or dismiss it.
Low confidenceBelow the 0.6 threshold. Same options — the model's take is shown so you can correct it.
Possible duplicateMerge it into the existing task, which posts the report onto that ticket and carries its files over.

Filing from review runs exactly the same code path as auto-filing, so a reviewed ticket is indistinguishable from an automatic one.

Beyond bugs

Meetings to tasks

Record a meeting in the browser — screen and audio — and it is transcribed, summarised, and mined for action items. Each item can be filed as a task, with the recording attached to the parent.

Unlike bug triage, meeting action items are never filed automatically. You choose the target space and tick the items worth keeping; the rest are dismissed. Meetings generate a lot of speculative follow-ups, and auto-filing them would bury the space.

Integrate

REST API

Using an AI assistant?

Claude, Cursor and VS Code connect through the MCP server instead: sign in once, no token to manage.

Bearer-token authenticated. Create and revoke tokens in Settings → API & webhooks (pick the products each one reaches), or in a product’s own settings (reaches that product only). The raw token is shown once at creation — only its hash is stored, so it cannot be recovered later.

A token only sees and writes tasks in its products: other products’ tasks never appear in a list, and a space_slug outside them answers 422 exactly as a missing one does.

Who can create tokens and webhooks

Anyone whose role in every product it covers holds Manage API tokens & webhooks — on for project managers by default, never for viewers, adjustable under Roles & permissions. Workspace owners always can. Changing, pausing or revoking one takes the same permission.
Authorization: Bearer <your-token>

List tasks

GET/api/v1/tasksBearer token
Query paramNotes
spaceFilter by space slug. Omit for every space the token reaches.
limitDefaults to 50, capped at 200. Newest first.
curl "https://your-domain.com/api/v1/tasks?space=web-app&limit=20" \
  -H "Authorization: Bearer $TOKEN"

200 with the tasks, newest first. There is no cursor: narrow with space and raise limit.

{
  "tasks": [
    {
      "id": "9f2b6c1e-8d4a-4f7b-9e3c-2a1d5b6c7e8f",
      "title": "Promo codes return 500 at checkout",
      "description": "Applying SUMMER25 on the cart page …",
      "priority": "urgent",
      "status_id": "0c368036-cc01-43b2-9950-9416ba1965c7",
      "created_at": "2026-08-12T09:41:00.123456+00:00",
      "list": { "space": { "slug": "web-app", "name": "Web app" } }
    }
  ]
}

Create a task

POST/api/v1/tasksBearer token
FieldRequiredNotes
space_slugYesTarget space. 422 if no space matches.
titleYesTask title.
descriptionNoMarkdown body.
priorityNourgent · high · normal · low. Anything else is ignored.
curl -X POST https://your-domain.com/api/v1/tasks \
  -H "Authorization: Bearer $TOKEN" \
  -H "content-type: application/json" \
  -d '{ "space_slug": "web-app", "title": "Promo codes 500", "priority": "urgent" }'

The task is created in the space’s first list, at its first status, and returns 201 with the new task. It fires task.created with source: "api" like any other.

{
  "task": {
    "id": "9f2b6c1e-8d4a-4f7b-9e3c-2a1d5b6c7e8f",
    "title": "Promo codes 500",
    "priority": "urgent",
    "status_id": "0c368036-cc01-43b2-9950-9416ba1965c7",
    "created_at": "2026-08-12T09:41:00.123456+00:00"
  }
}

Status codes

CodeMeaning
200OK — or, on ingest, a deduplicated re-delivery.
201Created.
400Malformed JSON, or a required field is missing.
401Missing or revoked credentials.
422Valid request, but the target doesn't exist.
502The report could not be stored. Safe to retry.

Integrate

Outbound webhooks

Subscribe an endpoint to events and Task360 will POST to it when they happen. Delivery is fire-and-forget: a failing endpoint never blocks or delays the action that triggered it, and there are no retries — reconcile through the REST API if you miss one.

Like tokens, every webhook reaches only the products it was created for — picked in Settings → API & webhooks, or fixed to one product when made in that product’s settings — and takes the same permission to create (see the note under REST API). Change its events or products, or pause it, from the same list.

EventFires whenPayload
task.createdA task or subtask is created — in the app, through the REST API, a form, an email, or AI auto-filing. Imports don't fire it.task, source, actor_id
task.updatedA task's fields change — title, description, priority, dates, estimate, sprint, points, list, archived. Status moves are task.status_changed.task_id, changes, actor_id
task.status_changedA task moves to a different status — dragged on the board, set in the panel, or in bulk.task_id, from_status_id, to_status_id, from_status, to_status, actor_id
task.completedA task moves from an open status into a done or closed one. Fires alongside task.status_changed.task_id, from_status_id, to_status_id, from_status, to_status, actor_id
task.assignedSomeone is added to or removed from a task's assignees.task_id, added, removed, actor_id
task.deletedA task is deleted. Subtasks deleted along with their parent don't fire their own.task_id, actor_id
comment.createdSomeone comments on a task or replies to a comment — in the app or by email.comment_id, task_id, parent_id, body, actor_id
report.receivedAn inbound report is stored — Flock, the public report page, /api/ingest. Re-deliveries of the same message don't fire.report_id, source, sender, channel_key
report.filedA report becomes a task, whether AI auto-filed it or a reviewer clicked Create task.report_id, task_id, auto, actor_id
report.mergedA report is merged into an existing task as a duplicate; its text lands there as a comment.report_id, task_id, actor_id
report.dismissedA report is dismissed in review instead of becoming a task.report_id, actor_id
report.reopenedA dismissed report is moved back into the review queue.report_id, actor_id

Payloads

What arrives in payload for each event. In task.created, task always carries id, title and list_id; a task made in the app sends its whole record (status, priority, dates, assignees, tags). source is one of app · api · triage · review · form · email · duplicate · template · meeting · recurrence.

task.created
{
  "task": {
    "id": "9f2b6c1e-8d4a-4f7b-9e3c-2a1d5b6c7e8f",
    "title": "Promo codes return 500 at checkout",
    "list_id": "b532e9bf-eb20-43c1-9c45-2cdd71c4997f"
  },
  "source": "app",
  "actor_id": "3c9d7e2a-1b4f-4c8d-9a6e-5f2b1c3d4e5f"
}
task.updated
{
  "task_id": "9f2b6c1e-8d4a-4f7b-9e3c-2a1d5b6c7e8f",
  "changes": {
    "priority": "urgent",
    "due_date": "2026-10-01"
  },
  "actor_id": "3c9d7e2a-1b4f-4c8d-9a6e-5f2b1c3d4e5f"
}
task.status_changed
{
  "task_id": "9f2b6c1e-8d4a-4f7b-9e3c-2a1d5b6c7e8f",
  "from_status_id": "0c368036-cc01-43b2-9950-9416ba1965c7",
  "to_status_id": "1b39458a-2915-4f3b-80f5-2c87651ea5fa",
  "from_status": {
    "id": "0c368036-cc01-43b2-9950-9416ba1965c7",
    "name": "In progress",
    "type": "active"
  },
  "to_status": {
    "id": "1b39458a-2915-4f3b-80f5-2c87651ea5fa",
    "name": "Done",
    "type": "done"
  },
  "actor_id": "3c9d7e2a-1b4f-4c8d-9a6e-5f2b1c3d4e5f"
}
task.completed
{
  "task_id": "9f2b6c1e-8d4a-4f7b-9e3c-2a1d5b6c7e8f",
  "from_status_id": "0c368036-cc01-43b2-9950-9416ba1965c7",
  "to_status_id": "1b39458a-2915-4f3b-80f5-2c87651ea5fa",
  "from_status": {
    "id": "0c368036-cc01-43b2-9950-9416ba1965c7",
    "name": "In progress",
    "type": "active"
  },
  "to_status": {
    "id": "1b39458a-2915-4f3b-80f5-2c87651ea5fa",
    "name": "Done",
    "type": "done"
  },
  "actor_id": "3c9d7e2a-1b4f-4c8d-9a6e-5f2b1c3d4e5f"
}
task.assigned
{
  "task_id": "9f2b6c1e-8d4a-4f7b-9e3c-2a1d5b6c7e8f",
  "added": [
    "6e1f2a3b-4c5d-4e6f-8a9b-0c1d2e3f4a5b"
  ],
  "removed": [],
  "actor_id": "3c9d7e2a-1b4f-4c8d-9a6e-5f2b1c3d4e5f"
}
task.deleted
{
  "task_id": "9f2b6c1e-8d4a-4f7b-9e3c-2a1d5b6c7e8f",
  "actor_id": "3c9d7e2a-1b4f-4c8d-9a6e-5f2b1c3d4e5f"
}
comment.created
{
  "comment_id": "5b8c2d1e-7f3a-4b9c-8d2e-1f4a6b8c0d2e",
  "task_id": "9f2b6c1e-8d4a-4f7b-9e3c-2a1d5b6c7e8f",
  "parent_id": null,
  "body": "Reproduced on staging with code SUMMER25.",
  "actor_id": "3c9d7e2a-1b4f-4c8d-9a6e-5f2b1c3d4e5f"
}
report.received
{
  "report_id": "7a1e9c3d-2b4f-4a6e-8c1d-3e5f7a9b1c2d",
  "source": "flock",
  "sender": "Priya (support)",
  "channel_key": "g:4f1a9c"
}
report.filed
{
  "report_id": "7a1e9c3d-2b4f-4a6e-8c1d-3e5f7a9b1c2d",
  "task_id": "9f2b6c1e-8d4a-4f7b-9e3c-2a1d5b6c7e8f",
  "auto": true,
  "actor_id": null
}
report.merged
{
  "report_id": "7a1e9c3d-2b4f-4a6e-8c1d-3e5f7a9b1c2d",
  "task_id": "9f2b6c1e-8d4a-4f7b-9e3c-2a1d5b6c7e8f",
  "actor_id": "3c9d7e2a-1b4f-4c8d-9a6e-5f2b1c3d4e5f"
}
report.dismissed
{
  "report_id": "7a1e9c3d-2b4f-4a6e-8c1d-3e5f7a9b1c2d",
  "actor_id": "3c9d7e2a-1b4f-4c8d-9a6e-5f2b1c3d4e5f"
}
report.reopened
{
  "report_id": "7a1e9c3d-2b4f-4a6e-8c1d-3e5f7a9b1c2d",
  "actor_id": "3c9d7e2a-1b4f-4c8d-9a6e-5f2b1c3d4e5f"
}

Envelope

Every delivery wraps its event’s payload the same way. product_id is the product the event happened in; id is unique per delivery, so a receiver can drop anything it has already seen.

{
  "id": "5d0c…",
  "event": "task.status_changed",
  "product_id": "a41e…",
  "payload": {
    "task_id": "9f2b…",
    "from_status_id": "…", "to_status_id": "…",
    "from_status": { "id": "…", "name": "In progress", "type": "active" },
    "to_status": { "id": "…", "name": "Done", "type": "done" },
    "actor_id": "…"
  },
  "sent_at": "2026-08-12T09:41:00.000Z"
}

actor_id is the person who did it, or null when Task360 did (AI auto-filing, an inbound email, a public form).

Receiving

Answer with any 2xx within 10 seconds; do the real work after responding. A slower or failing endpoint is logged and not retried. When a bulk edit fires one event per task, they are sent to your endpoint one at a time, in order — and if it can’t be reached, the rest of that batch is skipped for it.

Verifying the signature

Every delivery carries an HMAC-SHA256 of the exact request body, keyed with your webhook secret. Compute it over the raw body — not the re-serialised object — or it will not match.

x-task360-event:     task.status_changed
x-task360-delivery:  <the envelope's id>
x-task360-signature: sha256=<hex digest>
const expected = crypto
  .createHmac("sha256", secret)
  .update(rawBody)
  .digest("hex");

crypto.timingSafeEqual(
  Buffer.from(expected),
  Buffer.from(signature.replace("sha256=", "")),
);

Operations

Configuration

VariablePurpose
INGEST_WEBHOOK_SECRETShared secret for /api/ingest and /api/email-in. Required — ingestion refuses to run without it.
ANTHROPIC_API_KEYModel access for triage, assignment and meeting analysis.
ANTHROPIC_MODELOverride the triage model. Defaults to the most capable available.
AUTO_FILE_REPORTSSet to false to send every report to the review queue instead of auto-filing. Defaults to on.

Turning auto-filing off is the safe rollback

If the model starts mis-filing at scale, set AUTO_FILE_REPORTS=false. Analysis keeps running and every report still arrives with its take attached — a human just approves each one. No deploy needed.

Trust

Security

Row-level security

Access is enforced in the database, not just the UI. A user cannot read a space they aren't a member of.

Hashed API tokens

Only a SHA-256 hash is stored. A leaked database gives up no usable token.

Signed deliveries

Outbound webhooks are HMAC-signed so receivers can prove a payload came from us.

No model training

Reports go to the model provider for analysis and come straight back. Your data is not training data.

Redacted errors

Anything resembling a key is stripped from failure messages before it reaches a log or the review UI.

Separated privileges

The service-role key is server-only, reachable from ingestion and analysis paths — never the browser.

Still stuck on something?

If a step here didn’t match what you saw, tell us — the gap is usually ours.