Comprehensive API Guide
Build powerful integrations with Taskade's REST API. Access projects, tasks, agents, and more programmatically with full CRUD operations.
Taskade's API provides programmatic access to core platform features. Whether you're building custom integrations or automating workflows, our RESTful API offers the flexibility you need.
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/jsonAuthentication
Personal Access Token Authentication
Simple authentication for server-to-server applications:
Obtaining a Personal Access Token
Go to Settings β Developer β Personal Access Tokens
Click Generate New Token
Copy and securely store your token
Use the token in the
Authorizationheader
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 Share Link
Enable Share Link
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
API Reference: Full endpoint documentation in each resource section
Authentication Guide: Personal Access Tokens
OAuth Setup: OAuth Authentication
Getting Help
π§ Support: [email protected]
π Help Center: help.taskade.com
Last updated