Todoist Labels API

Label management operations

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /labels List my personal labels · List Labels #
Ask an LLM
“What personal labels have I created?”
“Can I see all my labels in one list?”
Tell an agent
List all my personal labels.
Show every label I use.
POST /labels Create a personal label · Create Label #
Ask an LLM
“How do I create a new label for organizing tasks?”
“Can I choose a color and favorite status when creating a label?”
Tell an agent
Create a label named {name}.
Create label {name} in color {color} and order {order}.
GET /labels/{id} Get a label · Get Label #
Ask an LLM
“What color and order is a particular label?”
“Can I look up one label by its ID?”
Tell an agent
Show label {id}.
Get the details of label {id}.
POST /labels/{id} Update a label · Update Label #
Ask an LLM
“How do I change a label's color or order?”
“Can I favorite a label after creating it?”
Tell an agent
Change label {id} to color {color}.
Set label {id} as favorite {is_favorite}.
DELETE /labels/{id} Delete a label · Delete Label #
Ask an LLM
“How do I permanently delete a label?”
“Is deleting a label permanent?”
Tell an agent destructive · confirm first
Delete label {id}.
Permanently remove label {id}.

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/todoist:todoist-labels-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

todoist-labels-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Todoist Labels API
  description: The Todoist API v1 provides programmatic access to task management, projects, sections, labels, reminders, comments, workspaces, and more. Supports OAuth 2.0 and personal API tokens. Includes incremental sync via the /sync endpoint.
  version: '1.0'
  contact:
    name: Todoist Developer Support
    url: https://developer.todoist.com/
  termsOfService: https://doist.com/terms-of-service
  license:
    name: Todoist API Terms
    url: https://developer.todoist.com/
servers:
- url: https://api.todoist.com/api/v1
  description: Production
security:
- bearerAuth: []
tags:
- name: Labels
  description: Label management operations
paths:
  /labels:
    get:
      operationId: listLabels
      summary: List Labels
      description: Returns all personal labels for the authenticated user.
      tags:
      - Labels
      responses:
        '200':
          description: List of labels
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Label'
    post:
      operationId: createLabel
      summary: Create Label
      description: Creates a new personal label.
      tags:
      - Labels
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateLabelRequest'
      responses:
        '200':
          description: Created label
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Label'
  /labels/{id}:
    get:
      operationId: getLabel
      summary: Get Label
      description: Returns a single label by ID.
      tags:
      - Labels
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Label details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Label'
    post:
      operationId: updateLabel
      summary: Update Label
      description: Updates a label's properties.
      tags:
      - Labels
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                color:
                  type: string
                order:
                  type: integer
                is_favorite:
                  type: boolean
      responses:
        '200':
          description: Updated label
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Label'
    delete:
      operationId: deleteLabel
      summary: Delete Label
      description: Deletes a label permanently.
      tags:
      - Labels
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Label deleted
components:
  schemas:
    CreateLabelRequest:
      type: object
      required:
      - name
      properties:
        name:
          type: string
        order:
          type: integer
        color:
          type: string
        is_favorite:
          type: boolean
    Label:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        color:
          type: string
        order:
          type: integer
        is_favorite:
          type: boolean
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Personal API token or OAuth 2.0 access token