TaScan Lists API

The lists API from TaScan — 13 operation(s) for lists.

GitHub OpenAPI

Operations 18

GET /lists/{id} Get task list #
PUT /lists/{id} Update task list #
DELETE /lists/{id} Delete task list #
GET /lists/{id}/access Get the task list access level #
PATCH /lists/{id}/access Set the task list access level #
PUT /lists/{id}/access Set the task list access level (PUT = PATCH) #
POST /lists/{id}/apply-template Apply a template to a list #
GET /lists/{id}/issues List issues on a task list #
POST /lists/{id}/qr Generate QR Code #
GET /lists/{id}/report Completion report for a list #
POST /lists/{id}/share Share Task List #
GET /lists/{id}/tasks List tasks #
POST /lists/{id}/tasks Add tasks #
GET /lists/{list_id}/completions Completion feed for a list #
POST /lists/{id}/nudge Nudge a worker by text #
POST /lists/{id}/replies Reply to a task list with a task list #
POST /lists/{id}/email E-mail a task list (or one of its tasks) #
GET /lists/{id}/timesheet Timesheet (read-only) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/tascan-io:tascan-io-lists-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

tascan-io-lists-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TaScan Lists API
  version: 1.1.0
  description: 'TaScan: Task. Scan. Done. Verified Work for humans, AI agents and devices. Create and dispatch work, collect evidence (photos, GPS, NFC/QR/RFID scans, device readings, agent output), verify it under pinned policies, and get a signed Action Receipt anyone can check without trusting TaScan. Covers projects and task lists, workers and payments, zones, tags and assets, evidence ingestion, verifications, receipts, agent coordination (cycles, builds, fan-outs, runs), keys, budgets and delegations. MCP clients should use the native MCP server instead: https://app.tascan.io/mcp (npm: tascan-mcp), which exposes the same capabilities as tools. Protocol spec: https://app.tascan.io/docs/protocol/TASCAN-PROTOCOL-v0.1.md. Independent receipt verifier: npx tascan-verify.'
  contact:
    name: TaScan
    url: https://tascan.io
  termsOfService: https://tascan.io/terms
servers:
- url: https://app.tascan.io/api/v1
security:
- apiKey: []
tags:
- name: Lists
paths:
  /lists/{id}:
    get:
      summary: Get task list
      tags:
      - Lists
      parameters:
      - $ref: '#/components/parameters/id'
      responses:
        '200':
          description: Task list
      operationId: get_list
      x-mcp-tools:
      - tascan_get_event
      description: 'SR-API3: the list carries is_template_source, qr_style_id and template_url (https://app.tascan.io/template.html?id= when it is shared as a template, else null). SR-S2 (296): the agent gate applies (see get_task_access).'
    put:
      summary: Update task list
      tags:
      - Lists
      parameters:
      - $ref: '#/components/parameters/id'
      responses:
        '200':
          description: Updated
      operationId: put_list
      x-mcp-tools:
      - tascan_update_event
      - tascan_apply_qr_style
      description: 'SR-API3 (297): qr_style_id (a saved QR look of the org, or null) is readable and settable on a list; another org''s look is 400. SR-S2 (296): access_level / agent_assignee follow patch_list_access''s rules and go through the same one transaction (apply_access_change), which also writes the other fields when an access change applies: a refused or failed change answers its error and nothing at all is changed (the access change, its receipt, the assignments and the other fields commit together or not at all). SR-S2 (296): the agent gate applies (see get_task_access).'
    delete:
      summary: Delete task list
      tags:
      - Lists
      parameters:
      - $ref: '#/components/parameters/id'
      responses:
        '200':
          description: Deleted
      operationId: delete_list
      x-mcp-tools:
      - tascan_delete_event
  /lists/{id}/access:
    get:
      summary: Get the task list access level
      description: 'The access object of a task list: access_level, effective_access_level, agent_assignee, effective_agent_assignee, human_assignees, floor. Read tier. SR-S2 (296): an item (or its list) with an agent_assignee answers only the key carrying that agent_id; any other key gets exactly the missing-item answer (a project sandbox key: 403 project_scope_denied). Supervisors (an owner-tier key, an admin session, an agent:dispatch key without agent_id) read it (one supervisor_read ledger note per key per item per hour, written by log_supervisor_reads before the answer; if it cannot be written the read is 503 supervisor_read_unlogged with no assigned data) and post on its trail, never complete it (403 assigned_to_agent). r7 (list level only): the agent gate is the LIST''s agent_assignee and every task follows its list (a task has no agent_assignee of its own; its access object shows the list''s, inherited). access_level (a task-level value wins for the effective level) is 254''s worker-page level and is not part of the agent gate.'
      tags:
      - Lists
      operationId: get_list_access
      parameters:
      - $ref: '#/components/parameters/id'
      responses:
        '200':
          description: '{ data: access object }'
        4XX:
          description: Client error (validation, auth, scope, lower_requires_admin, access_floor, unknown_agent, access_conflict).
      x-mcp-tools:
      - tascan_get_access
    patch:
      summary: Set the task list access level
      description: 'SR-S2 (296): set access_level, agent_assignee and human_assignees. Raising (open -> assigned -> secured, adding an assignee) needs any write key in scope that can see the item. Lowering, or removing / replacing an assignee, needs an owner/admin-tier key or an owner/admin session (403 lower_requires_admin), so an assigned agent never widens its own item. A Decisions list, a task on one and a human_binding = passkey card never go below assigned, for any role (403 access_floor). The change, ONE access_changed ledger event (actor, before, after) and a task''s trail note are one transaction (apply_access_change, 296): all or nothing (503 access_change_failed: nothing changed or recorded); 409 access_conflict when the item changed while the request was being decided. Write tier.'
      tags:
      - Lists
      operationId: patch_list_access
      parameters:
      - $ref: '#/components/parameters/id'
      responses:
        '200':
          description: '{ data: access object, changed, before, access_receipt }'
        4XX:
          description: Client error (validation, auth, scope, lower_requires_admin, access_floor, unknown_agent, access_conflict).
      x-mcp-tools:
      - tascan_set_access
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              properties:
                access_level:
                  type:
                  - string
                  - 'null'
                  enum:
                  - open
                  - assigned
                  - secured
                  - null
                agent_assignee:
                  type:
                  - string
                  - 'null'
                  description: An agent_id of your organization, or null
                human_assignees:
                  type: array
                  items:
                    type: string
                    format: uuid
                  maxItems: 200
                  description: Replaces the set
    put:
      summary: Set the task list access level (PUT = PATCH)
      description: 'SR-S2 (296): the same as patch_list_access (the MCP transports send a body on PUT).'
      tags:
      - Lists
      operationId: put_list_access
      parameters:
      - $ref: '#/components/parameters/id'
      responses:
        '200':
          description: '{ data: access object, changed, before, access_receipt }'
        4XX:
          description: Client error (validation, auth, scope, lower_requires_admin, access_floor, unknown_agent, access_conflict).
      x-mcp-tools:
      - tascan_set_access
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              properties:
                access_level:
                  type:
                  - string
                  - 'null'
                  enum:
                  - open
                  - assigned
                  - secured
                  - null
                agent_assignee:
                  type:
                  - string
                  - 'null'
                  description: An agent_id of your organization, or null
                human_assignees:
                  type: array
                  items:
                    type: string
                    format: uuid
                  maxItems: 200
                  description: Replaces the set
  /lists/{id}/apply-template:
    post:
      summary: Apply a template to a list
      tags:
      - Lists
      parameters:
      - $ref: '#/components/parameters/id'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                template_id:
                  type: string
              required:
              - template_id
      responses:
        '200':
          description: Tasks created from template
      operationId: post_apply_template
      x-mcp-tools:
      - tascan_apply_template
  /lists/{id}/issues:
    get:
      summary: List issues on a task list
      tags:
      - Lists
      parameters:
      - $ref: '#/components/parameters/id'
      responses:
        '200':
          description: Issues
      operationId: get_list_issues
      x-mcp-tools:
      - tascan_list_issues
  /lists/{id}/qr:
    post:
      summary: Generate QR Code
      description: 'Generate a QR code for a task list (event) that workers can scan to access tasks: { scan_url, qr_svg, qr_image_url, list_id, list_name }. Since SR-API1b the QR is drawn by TaScan itself (no third-party QR service sees the scan URL). qr_image_url keeps its name for compatibility but is now a data: URI (data:image/svg+xml;base64,...) of the same SVG as qr_svg, no longer an https URL.'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                style:
                  type: string
                  description: 'Reserved for saved QR styles (SR-P4c): accepted and ignored today (style_applied: false)'
      responses:
        '200':
          description: 'Success. JSON body: { data: ... } or an error object { error, message }.'
        4XX:
          description: Client error (validation, auth, scope, rate limit).
      operationId: post_list_qr
      tags:
      - Lists
      x-mcp-tools:
      - tascan_generate_qr
  /lists/{id}/report:
    get:
      summary: Completion report for a list
      description: 'Tasks, responses, photo evidence markers, timing, and worker attribution. SR-S2 (296, r7 list level only): a list assigned to another agent answers the missing-list 404; on a list the caller may open every task is reported.'
      tags:
      - Lists
      parameters:
      - $ref: '#/components/parameters/id'
      responses:
        '200':
          description: Report
      operationId: get_list_report
  /lists/{id}/share:
    post:
      responses:
        '200':
          description: 'Success. JSON body: { data: ... } or an error object { error, message }.'
        4XX:
          description: Client error (validation, auth, scope, rate limit).
      tags:
      - Lists
      summary: Share Task List
      operationId: post_list_share
      description: 'The list''s share link and its QR code: { scan_url, qr_svg, qr_image_url, sent }. The QR is drawn by TaScan itself (the vendored qrcode-generator, as in qr-image.js); no third-party QR service is ever called. qr_image_url is the same SVG as a data: URI. With send, the link goes to ONE recipient through the existing guarded lanes only: { phone } or { worker_id } by text (sms-send-lib: recipient known to the org, burst limits, STOP opt-out, SMS quota), { email } by e-mail (send-task-email: its own auth, burst gate and e-mail quota). Write tier without send; full tier with send. Also accepts an admin portal session (the Supabase JWT of an admin_users row) as the bearer: any admin role may read; every other method needs an owner or admin session.'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                send:
                  type: object
                  properties:
                    phone:
                      type: string
                    worker_id:
                      type: string
                    email:
                      type: string
                    message:
                      type: string
                      description: At most 300 characters
                style:
                  type: string
                  description: 'Reserved for saved QR styles (SR-P4c): accepted and ignored today (style_applied: false)'
      x-mcp-tools:
      - tascan_share_list
  /lists/{id}/tasks:
    get:
      summary: List tasks
      tags:
      - Lists
      parameters:
      - $ref: '#/components/parameters/id'
      - name: status
        in: query
        required: false
        schema:
          type: string
          enum:
          - open
          - done
          - all
          default: all
        description: open = only tasks with no completion yet that were not closed unfinished by the coordination layer (use it when polling for work); done = only completed tasks; all = every task (default). Every row is returned (paged past 1000 server-side).
      responses:
        '200':
          description: Tasks in order
      operationId: get_list_tasks
      x-mcp-tools:
      - tascan_list_tasks
      description: 'With ?status=open an agent reads only the work still to do instead of every task the list ever held. SR-S2 (296, r7 list level only): a list assigned to another agent answers the missing-list 404; on a list the caller may open every task is listed and counted.'
    post:
      summary: Add tasks
      description: 'Add one or many tasks. Body: {"tasks": [Task, ...]}. SR-S2 (296): per task access_level (r7: a task naming agent_assignee is 400 task_agent_assignee_unsupported with its index, and nothing is created); an open task on a Decisions list is 403 access_floor.'
      tags:
      - Lists
      parameters:
      - $ref: '#/components/parameters/id'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                tasks:
                  type: array
                  items:
                    $ref: '#/components/schemas/Task'
              required:
              - tasks
      responses:
        '201':
          description: Created
      operationId: post_list_tasks
      x-mcp-tools:
      - tascan_add_tasks
      - tascan_dispatch_to_agent
  /lists/{list_id}/completions:
    get:
      summary: Completion feed for a list
      parameters:
      - name: list_id
        in: path
        required: true
        schema:
          type: string
      - name: since
        in: query
        required: false
        schema:
          type: string
        description: next_since from the previous call (omit for everything).
      - name: after
        in: query
        required: false
        schema:
          type: string
          format: uuid
        description: next_after from the previous call.
      responses:
        '200':
          description: 'Success. JSON body: { data: ... } or an error object { error, message }.'
        4XX:
          description: Client error (validation, auth, scope, rate limit).
      operationId: get_list_completions
      tags:
      - Lists
      description: 'Completions on one list created strictly after the cursor, oldest first, at most 100: completion_id, task_id, task_title, response_value, notes, worker_name, status, completed_at. Pass back next_since exactly as returned (and next_after to break a tie on the same instant); with nothing new, the cursor is echoed unchanged. Lets an agent hear when its owner answers a card without re-reading the list. Read tier. SR-S2 (296, r7 list level only): a list assigned to another agent answers the missing-list 404; on a list the caller may open every completion is in the feed and the cursor is over exactly the rows returned.'
  /lists/{id}/nudge:
    post:
      summary: Nudge a worker by text
      description: 'SR-API3: no new SMS path. An admin session goes through send-nudge.js''s own handler with the caller''s bearer and exactly simple.html''s body { task_list_id, task_list_name, worker_phone, worker_id, worker_name, message }; a key through sms-send-lib.js sendGuardedSms (the POST /sms lane) with the list link. Both enforce list ownership, the recipient being known to the org, send-guard burst limits, the SMS quota and STOP opt-outs; their refusals pass through with their status. Exactly one of worker_id or phone; message at most 300 characters (a reminder when omitted). Answers { sent, via, to (last 4 digits) }. Full tier. Also accepts an admin portal session (the Supabase JWT of an admin_users row) as the bearer: any admin role may read; every other method needs an owner or admin session.'
      tags:
      - Lists
      operationId: post_list_nudge
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Task list id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                worker_id:
                  type: string
                  description: A worker of the org with a phone
                phone:
                  type: string
                  description: A number known to the org
                message:
                  type: string
                  description: At most 300 characters
      responses:
        '200':
          description: 'Success. JSON body: { data: ... } or an error object { error, message }.'
        4XX:
          description: Client error (validation, auth, scope, rate limit).
      x-mcp-tools:
      - tascan_nudge_worker
  /lists/{id}/replies:
    post:
      summary: Reply to a task list with a task list
      description: 'SR-S2 r4: the keyed form of list-reply.js (migration 095) behind tascan_reply_with_list. Creates a reply list in the parent''s project, linked into its thread (thread_id, reply_to_list_id, reply_author), with up to 25 typed tasks (checkbox, text, number, date, choice, photo; anything else is checkbox), and pings the org (app_messages). The parent passes the agent gate as a write: a list assigned to another agent answers the missing list''s 404 and nothing is created; a dispatch-only supervisor gets 403 supervisor_read_only. The reply carries its parent''s agent_assignee and access_level. At most 5 replies per parent per hour and 50 in total (429). Answers 201 { data: { list_id, thread_id, parent_list_id, worker_url, task_count } }. Write tier.'
      tags:
      - Lists
      operationId: post_list_reply
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: The parent task list id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - title
              - tasks
              properties:
                title:
                  type: string
                  description: Reply list title, 1-120 characters
                author_name:
                  type: string
                  description: Who is replying (shown in the thread), at most 80 characters
                tasks:
                  type: array
                  description: '1-25 items: a title string or { title, description?, response_type?, response_config? }'
                  items: {}
      responses:
        '201':
          description: 'Created. JSON body: { data: ... }.'
        4XX:
          description: Client error (validation, auth, scope, rate limit).
      x-mcp-tools:
      - tascan_reply_with_list
  /lists/{id}/email:
    post:
      summary: E-mail a task list (or one of its tasks)
      description: 'SR-S2 r4: tascan_send_task_email''s route. The list passes the agent gate as a write (a list assigned to another agent answers the missing list''s 404; a dispatch-only supervisor gets 403 supervisor_read_only) and so does the task_id it highlights (another agent''s task answers like an unknown task); then send-task-email.js''s own handler runs with the caller''s bearer (its email quota, SendGrid and logging unchanged) and its answer is returned as { data: { success, subject, message_id } }. Full tier (it sends to a person).'
      tags:
      - Lists
      operationId: post_list_email
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Task list id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - to_email
              properties:
                to_email:
                  type: string
                  description: Recipient e-mail address
                to_name:
                  type: string
                  description: Recipient display name
                task_id:
                  type: string
                  description: Optional task of this list to highlight
                subject:
                  type: string
                  description: Custom subject
                message:
                  type: string
                  description: Custom message in the body
                include_qr:
                  type: boolean
                  description: Include the list QR code (default true)
      responses:
        '200':
          description: 'Success. JSON body: { data: ... } or an error object { error, message }.'
        4XX:
          description: Client error (validation, auth, scope, rate limit).
      x-mcp-tools:
      - tascan_send_task_email
  /lists/{id}/timesheet:
    get:
      summary: Timesheet (read-only)
      description: 'SR-API3: get_list_timesheet''s rules (144) per shift over timer_events and worker_breaks: shifts [{ worker_id, worker_name, day, in, out, open, never_clocked_out, shift_seconds, break_seconds, net_seconds, hours }] (an open start under 12 h runs to now; an older one counts 0), workers [{ ..., shift / break / net seconds as the RPC sums them, hours, regular_hours, ot_hours, dt_hours, days }] and total. OT / DT per worker per local day (org time zone, else UTC) from the project''s labor_rules: OT after ot_after_hours (default 10), DT after dt_after_hours (none when unset). Clock edits are not here. Read tier. Also accepts an admin portal session (the Supabase JWT of an admin_users row) as the bearer: any admin role may read; every other method needs an owner or admin session.'
      tags:
      - Lists
      operationId: get_list_timesheet
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Task list id
      - name: worker_id
        in: query
        required: false
        schema:
          type: string
        description: Only this worker
      responses:
        '200':
          description: 'Success. JSON body: { data: ... } or an error object { error, message }.'
        4XX:
          description: Client error (validation, auth, scope, rate limit).
      x-mcp-tools:
      - tascan_get_timesheet
components:
  parameters:
    id:
      name: id
      in: path
      required: true
      schema:
        type: string
        format: uuid
  schemas:
    Task:
      type: object
      properties:
        title:
          type: string
        description:
          type: string
        response_type:
          type: string
          enum:
          - checkbox
          - text
          - number
          - date
          - choice
          - photo
          - file
          - url
          - voice
          - video
          description: How the worker responds.  checkbox = tap done; text/number/date collect a value; choice shows options from response_config.options; photo requires a photo.
        response_config:
          type: object
          description: Type-specific config, e.g. {"options":["Pass","Fail"]} for choice, {"multiline":true} for text
        requires_photo:
          type: boolean
        is_safety_checkpoint:
          type: boolean
        sort_order:
          type: integer
      required:
      - title
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: 'API key from the TaScan admin Team page.  Format: tsk_live_...  Send as: Authorization: Bearer tsk_live_xxx.  Rate limit 60 requests/min.'
x-generated:
  by: live-event/scripts/gen-agent-docs.js
  from:
  - api-v1-helpers.js ROUTES
  - api-v1.js handler switch
  - coord-*-lib.js matchers
  - receipt.js
  - tascan-mcp/tools.cjs
  operations: 218
  mcp_tools: 141