taskhold-com Import API
The Import API from taskhold-com — 3 operation(s) for import.
The Import API from taskhold-com — 3 operation(s) for import.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/taskhold-com:taskhold-com-import-api"
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.
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: 3.2.0
info:
title: Taskhold Import API
version: 1.2.0
description: 'REST API behind Taskhold, a task list shared by a person and their coding agents. The same API key works for the MCP server at https://taskhold.com/api/mcp, which is the easier way to connect an agent. Changes made with an API key are recorded as made by an agent. Changelog: https://taskhold.com/changelog'
contact:
email: hello@greatwork.company
termsOfService: https://taskhold.com/terms
servers:
- url: https://taskhold.com
security:
- bearer: []
tags:
- name: Import
paths:
/api/import:
post:
summary: Import a file
description: 'Parse text (a TODO.md or other Markdown checklist, todo.txt, TaskPaper, Org, CSV/TSV, JSON exports, iCalendar VTODO, OPML, TODO comments) and import it as one import batch. With `project`, every task goes into that project (created if new); without, the file''s own projects are used. Fields Taskhold has no column for (due dates, assignees, custom fields) are kept under Imported details in the description. Re-running with the same text skips tasks it already imported, or updates them with on_duplicate: update. dry_run returns the preview and writes nothing. Undo with POST /api/import/batches/{id}/undo.'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- text
properties:
text:
type: string
description: The file's contents (up to 5 MB)
file_name:
type: string
description: Optional; only breaks ties in format detection
project:
type: string
description: Put every task in this project (by name)
include_done:
type: boolean
default: true
on_duplicate:
type: string
enum:
- skip
- update
default: skip
dry_run:
type: boolean
default: false
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
description: 'dry_run: the preview (counts, statuses, where each field goes)'
'201':
description: OK
content:
application/json:
schema:
type: object
properties:
format:
type: string
batch:
type: object
description: id, source, status, counts (tasks_created, tasks_updated, tasks_skipped_duplicate, steps_created, notes_created...)
warnings:
type: array
items:
type: string
undo:
type: string
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/SubscriptionRequired'
'500':
description: Server error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Import
operationId: postApiImport
x-operation-id-source: derived
/api/import/batches:
get:
summary: Recent imports
description: 'The account''s last 20 imports, newest first: source, status (running, applied, undone), counts and dates.'
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
batches:
type: array
items:
type: object
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/SubscriptionRequired'
'500':
description: Server error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Import
operationId: getApiImportBatches
x-operation-id-source: derived
/api/import/batches/{id}/undo:
post:
summary: Undo an import
description: Remove the tasks, steps, notes, labels and projects an import created (projects and labels only if nothing else uses them now) and restore tasks it updated.
parameters:
- name: id
in: path
required: true
description: Import id (UUID)
schema:
type: string
format: uuid
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
batch:
type: object
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/SubscriptionRequired'
'500':
description: Server error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Import
operationId: postApiImportBatchesByIdUndo
x-operation-id-source: derived
components:
schemas:
Error:
type: object
properties:
error:
type: string
message:
type: string
details: {}
AuthError:
type: object
properties:
error:
type: string
reason:
type: string
message:
type: string
url:
type: string
format: uri
responses:
Unauthorized:
description: Missing, malformed or unknown API key. `reason` is one of missing_key, bad_header, not_a_taskhold_key, unknown_key; `message` says what to do and `url` links to Settings.
content:
application/json:
schema:
$ref: '#/components/schemas/AuthError'
SubscriptionRequired:
description: The key is valid but the account has no active subscription. `url` links to Billing.
content:
application/json:
schema:
$ref: '#/components/schemas/AuthError'
securitySchemes:
bearer:
type: http
scheme: bearer
description: An atd_sk_ API key from https://taskhold.com/dashboard/settings (or a setup URL, which creates one for you).
externalDocs:
description: Setup per agent
url: https://taskhold.com/for