Get tasks
Task Management
Get tasks
Retrieves all tasks based on query parameters. Filters can include responsible user IDs and date range (fromDate/toDate).
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
Related Endpoints
- POST /api/public/tasks - Create a new task
- PUT /api/public/tasks/ - Update an existing task
- DELETE /api/public/tasks/ - Delete a task
- GET /api/public/team-members/all - Get team members for responsibleIds
Notes
- Required Parameters:
responsibleIds,fromDate, andtoDateare required query parameters - Optional Parameters:
includeTasksWithoutDatesis optional and defaults totrue - Date Format: Use YYYY-MM-DD format for dates (e.g., β2025-10-01β)
- Array Parameters:
responsibleIdsis an array and should be passed asresponsibleIds[]=uuid1&responsibleIds[]=uuid2. An empty array will return tasks for all team members - Time Boundaries:
fromDatestarts at 00:00:00 andtoDateends at 23:59:59 in the server timezone - Status Config: Tasks use custom status configurations (
status_config) instead of simple βopen/doneβ status. Check thestatus_config.typefield for status information - Tasks Without Dates: When
includeTasksWithoutDates=true, tasks without due dates are included regardless of the date range filter
