taskhold-com Account API

The Account API from taskhold-com — 2 operation(s) for account.

GitHub OpenAPI

Operations 3

GET /api/account/preferences Account preferences #
PATCH /api/account/preferences Change account preferences #
GET /api/account/export Export everything #

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/taskhold-com:taskhold-com-account-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

taskhold-com-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Taskhold Account 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: Account
paths:
  /api/account/preferences:
    get:
      summary: Account preferences
      description: Which task taskhold_next and POST /api/tasks/next take first inside a priority. The same setting as Settings > Agents.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  next_task_order:
                    type: string
                    enum:
                    - oldest
                    - newest
                  next_task_order_description:
                    type: string
                    description: e.g. "highest priority first, then oldest"
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/SubscriptionRequired'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Account
      operationId: getApiAccountPreferences
      x-operation-id-source: derived
    patch:
      summary: Change account preferences
      description: 'Set next_task_order: oldest (the default; work that has waited longest goes next) or newest (the order the To Do list shows).'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - next_task_order
              properties:
                next_task_order:
                  type: string
                  enum:
                  - oldest
                  - newest
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  next_task_order:
                    type: string
                    enum:
                    - oldest
                    - newest
                  next_task_order_description:
                    type: string
                    description: e.g. "highest priority first, then oldest"
        '400':
          description: next_task_order must be oldest or newest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/SubscriptionRequired'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Account
      operationId: patchApiAccountPreferences
      x-operation-id-source: derived
  /api/account/export:
    get:
      summary: Export everything
      description: 'Everything the account owns as one JSON file (sent as an attachment): the account, billing status, projects, labels, every task with its steps, notes, labels and history, the activity events, API key names and prefixes (never the keys), share links (never their tokens), monthly usage and feedback. Signed in to the web app it works without a subscription (Settings, Your data); with an API key it needs one, like the rest of the API.'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  format:
                    type: string
                    const: taskhold-export
                  version:
                    type: integer
                  exported_at:
                    type: string
                    format: date-time
                  account:
                    type: object
                  billing:
                    type: object
                  projects:
                    type: array
                    items:
                      $ref: '#/components/schemas/Project'
                  labels:
                    type: array
                    items:
                      $ref: '#/components/schemas/Label'
                  tasks:
                    type: array
                    items:
                      type: object
                  events:
                    type: array
                    items:
                      type: object
                  api_keys:
                    type: array
                    items:
                      type: object
                  share_links:
                    type: array
                    items:
                      type: object
                  counts:
                    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:
      - Account
      operationId: getApiAccountExport
      x-operation-id-source: derived
components:
  schemas:
    AuthError:
      type: object
      properties:
        error:
          type: string
        reason:
          type: string
        message:
          type: string
        url:
          type: string
          format: uri
    Label:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        color:
          type: string
        description:
          type:
          - string
          - 'null'
        task_count:
          type: integer
          description: In GET /api/labels only
    Project:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        description:
          type:
          - string
          - 'null'
        agent_notes:
          type:
          - string
          - 'null'
          description: Project notes for agents, written by the person (up to 4,000 characters)
        color:
          type: string
        is_active:
          type: boolean
        created_at:
          type: string
          format: date-time
        counts:
          type: object
          description: 'GET /api/projects: top-level tasks by status'
          properties:
            todo:
              type: integer
            in_progress:
              type: integer
            blocked:
              type: integer
            done:
              type: integer
    Error:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
        details: {}
  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