Next Task 6.0.0: a task manager for Joomla PHP2Shell: Is Your Joomla Site Safe? What to Do Today Introducing Next Boards: Kanban project and task boards for Joomla Next Exams 6.2.0: Exam Studio, six visual question types, exam embeds and six new languages Building the Future of Joomla Extensions
NextSoftware
Next Task — Documentation

List Tasks

GET /v1/nexttask/tasks

List tasks

Tasks you can reach, narrowed by the filters.

Request

GET https://your-site.example/api/index.php/v1/nexttask/tasks?list_id=<integer>&view=<string>&search=<string>&due_from=<string>&due_to=<string>&parent_id=<integer>&limit=<integer>&offset=<integer>

Parameters

Name Type In Required Description
list_id integer query No Only this list.
view string query No A smart view across your lists. One of starred, today, overdue, assigned.
search string query No Text to look for.
due_from string query No Due on or after this date (YYYY-MM-DD). (date)
due_to string query No Due on or before this date (YYYY-MM-DD). (date)
parent_id integer query No Only the subtasks of this task.
limit integer query No Page size.
offset integer query No Rows to skip.

Responses

200 — The tasks.

{
    "success": true,
    "message": "string",
    "messages": "string",
    "data": {
        "items": [
            {
                "id": 12,
                "list_id": 5,
                "parent_id": 0,
                "title": "Ship it",
                "notes": "string",
                "status": "needsAction",
                "starred": 1,
                "due": "2026-10-02 09:00:00",
                "has_time": 1,
                "recurrence": "string",
                "recurrence_next_id": 1,
                "completed_time": "string",
                "position": "string",
                "links": [
                    {}
                ],
                "assigned_to": 1,
                "assignee_name": "string",
                "subtask_count": 1,
                "completed_subtask_count": 1,
                "access": "owner",
                "can_complete": true,
                "deleted_time": "string",
                "created": "string",
                "created_by": 1,
                "modified": "string",
                "modified_by": 1
            }
        ]
    }
}

Errors

Status Code When
401 No valid API token.

Examples

curl

curl -s "https://your-site.example/api/index.php/v1/nexttask/tasks" \
  -H "X-Joomla-Token: $API_TOKEN"

PHP

<?php
$ch = curl_init('https://your-site.example/api/index.php/v1/nexttask/tasks?list_id=<integer>&view=<string>&search=<string>&due_from=<string>&due_to=<string>&parent_id=<integer>&limit=<integer>&offset=<integer>');

curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER     => [
        'X-Joomla-Token: ' . getenv('API_TOKEN'),
    ],
]);

$response = json_decode(curl_exec($ch), true);
curl_close($ch);

JavaScript

const API_TOKEN = process.env.API_TOKEN;

const response = await fetch("https://your-site.example/api/index.php/v1/nexttask/tasks?list_id=<integer>&view=<string>&search=<string>&due_from=<string>&due_to=<string>&parent_id=<integer>&limit=<integer>&offset=<integer>", {
  headers: {
    "X-Joomla-Token": `${API_TOKEN}`,
  },
});
const data = await response.json();

All Extensions