githubEdit

Comprehensive API Guide

Build powerful integrations with Taskade's REST API. Access projects, tasks, agents, and more programmatically with full CRUD operations.

circle-check

API Overview

The Taskade API is a RESTful web service that provides programmatic access to Taskade features.

Key Features

  • πŸ”— RESTful Design: Standard HTTP methods and status codes

  • πŸ” Secure Authentication: OAuth 2.0 and Personal Access Token authentication

  • πŸ“Š Complete CRUD Operations: Full create, read, update, delete functionality

  • πŸ“š Comprehensive Documentation: Detailed endpoint documentation

API Base URL

Base URL: https://www.taskade.com/api/v1
Authentication: Bearer token
Content-Type: application/json

Authentication

Personal Access Token Authentication

Simple authentication for server-to-server applications:

Obtaining a Personal Access Token

  1. Go to Settings β†’ Developer β†’ Personal Access Tokens

  2. Click Generate New Token

  3. Copy and securely store your token

  4. Use the token in the Authorization header

OAuth 2.0 Authentication

Secure authentication for user-facing applications:

Core API Resources

Workspaces API

Manage workspaces and their contents:

Get All Workspaces

Get Workspace Folders

Create Project in Workspace

Folders API

Manage folders (subspaces) and their contents:

Get Folder Projects

Get Folder Agents

Create Agent in Folder

Generate Agent with AI

Get Folder Media Files

Get Folder Project Templates

Projects API

Comprehensive project management:

Get Project

Create Project

Complete Project

Restore Project

Copy Project

Create Project from Template

Get Project Members

Get Project Fields

Get Project Blocks

Get Project Tasks

Tasks API

Comprehensive task management:

Get Task

Create Tasks

Update Task

Delete Task

Complete Task

Mark Task Incomplete

Move Task

Position options: beforebegin, afterbegin, beforeend, afterend

Get Task Assignees

Update Task Assignees

Remove Task Assignee

Get Task Date

Set Task Date

Delete Task Date

Get Task Note

Update Task Note

Delete Task Note

Get Task Field Values

Get Specific Field Value

Update Field Value

Delete Field Value

Agents API

Manage AI agents:

Get Agent

Update Agent

Delete Agent

Enable Public Access

Get Public Agent Settings

Update Public Agent Settings

Get Public Agent by Public ID

Add Project to Agent Knowledge

Add Media to Agent Knowledge

Remove Project from Agent Knowledge

Remove Media from Agent Knowledge

Get Agent Conversations

Get Specific Conversation

Media API

Manage uploaded files:

Get Media

Delete Media

User Projects API

Access the authenticated user's projects:

Get My Projects

Sort options: viewed-asc, viewed-desc

Error Handling

HTTP Status Codes

  • 200 OK: Request successful

  • 400 Bad Request: Invalid request parameters

  • 401 Unauthorized: Authentication required or invalid

  • 403 Forbidden: Insufficient permissions

  • 404 Not Found: Resource not found

  • 4XX: Client error (see response for details)

Error Response Format

Error Handling Example

Pagination

Many endpoints support pagination using cursor-based or page-based approaches:

Page-based Pagination

Cursor-based Pagination (Tasks/Blocks)

Code Examples

Complete Workflow Example

Agent Integration Example

Python Example

Best Practices

Security

  • Store API tokens securely (environment variables, secret management)

  • Use HTTPS for all API calls

  • Implement proper error handling

  • Never expose tokens in client-side code

Performance

  • Use pagination for large result sets

  • Cache responses when appropriate

  • Implement exponential backoff for retries

  • Batch operations when possible

Data Management

  • Validate data before sending to API

  • Handle partial failures gracefully

  • Implement proper logging and monitoring

Support and Resources

Documentation

Getting Help

circle-info

Need more help? Contact our support team for assistance with API integration or enterprise API requirements.

Last updated