Skip to main content
GET
Get tasks

Overview

Retrieve a list of tasks based on filters such as responsible users and date range. This endpoint allows you to fetch tasks assigned to specific team members within a specified time period. Use this endpoint to build task management interfaces, dashboards, or integrate task data with external systems.

Use Cases

  • Task Dashboard: Display tasks for specific team members or the entire team
  • Calendar Views: Show tasks by date range for calendar interfaces
  • Team Management: Monitor task assignments and deadlines
  • Reporting & Analytics: Generate task completion reports by team member
  • Integration: Sync tasks with external project management tools
  • Mobile Apps: Fetch tasks for mobile task management applications

Authentication

This endpoint requires authentication using an API key. Include your API key in the request header:

Query Parameters

Response Structure

The endpoint returns an array of task objects:

Task Object

Task Responsible Object

Status Config Object

Example Request

Example Response

Common Use Cases

1. Fetch Tasks for a Team Member

2. Fetch Tasks for Multiple Team Members

3. Filter Overdue Tasks

4. Group Tasks by Priority

5. Build Task Calendar View

6. Calculate Task Completion Rate

7. Include or Exclude Tasks Without Due Dates

Response Characteristics

  • Array Format: Always returns an array, even if empty
  • Date Format: All dates are in ISO 8601 format
  • Timezone Awareness: Tasks include timezone information for accurate due date handling
  • Filtered by Organization: Only returns tasks from your organization
  • Sorted: Tasks are ordered by priority (high to low), then by ID
  • Tasks Without Dates: By default, tasks without due dates are included when includeTasksWithoutDates=true (default)

Error Responses

Performance Tips

  • Date Range: Use reasonable date ranges to avoid performance issues
  • Multiple Agents: Fetching tasks for multiple agents at once is more efficient than individual requests
  • Client-side Filtering: Consider fetching a broader date range and filtering on the client
  • Pagination: For large result sets, consider implementing date-based pagination
  • Caching: Cache results for a few minutes to reduce API calls

Notes

  • Required Parameters: responsibleIds, fromDate, and toDate are required query parameters
  • Optional Parameters: includeTasksWithoutDates is optional and defaults to true
  • Date Format: Use YYYY-MM-DD format for dates (e.g., β€œ2025-10-01”)
  • Array Parameters: responsibleIds is an array and should be passed as responsibleIds[]=uuid1&responsibleIds[]=uuid2. An empty array will return tasks for all team members
  • Time Boundaries: fromDate starts at 00:00:00 and toDate ends at 23:59:59 in the server timezone
  • Status Config: Tasks use custom status configurations (status_config) instead of simple β€œopen/done” status. Check the status_config.type field for status information
  • Tasks Without Dates: When includeTasksWithoutDates=true, tasks without due dates are included regardless of the date range filter

Query Parameters

responsibleIds
string[]

Responsible user IDs to filter tasks

fromDate
string
required
toDate
string
required
includeTasksWithoutDates
boolean
default:true
searchFilter
string

Response

Returns an array of tasks matching the query criteria