Skip to main content
GET

List all tasks

Scope:projects:projects.read
https://api.holded.com/api/v2/tasks

Returns a paginated list of tasks. Use `status=open` for the tasks still to do: not in a done status and not archived. Requests authenticated as a user also include the private projects that user is a member of; requests made with an API key list public projects only. Results are paginated with `limit` and `cursor` parameters. Default page size is 50, configurable up to 200.

Parameters

Query parameters

cursorstringoptional

Pagination cursor returned by the previous response. Omit to start from the first page.

limitintegeroptional= 50

Maximum number of items to return

statusstringoptional

`open`: tasks not in a done status and not archived. `done`: tasks in a done status, archived ones included. Omit to list every task, archived ones included.

"open""done"

Request

python
import requests

url = "https://api.holded.com/api/v2/tasks?cursor=value&limit=50&status=value"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

response = requests.get(url, headers=headers)
print(response.json())

Responses

Response

json
{
  "items": [
    {
      "id": "507f1f77bcf86cd799439011",
      "project_id": "string",
      "list_id": "string",
      "name": "string",
      "description": "string",
      "index": "1",
      "status": "string",
      "status_name": "string",
      "priority": 0,
      "story_points": 0,
      "type": "string",
      "start_date": "string",
      "due_date": "string",
      "archived": false,
      "updated_at": "string",
      "created_at": "string",
      "assigned_to": [
        "string"
      ],
      "comments": [
        {}
      ],
      "featured": false,
      "reference": "string"
    }
  ],
  "has_more": false,
  "cursor": "string"
}

Success responses

200List of tasksapplication/json
object
items[]object[]required
idstringrequired

Unique identifier

project_idstringrequired

Project ID

list_idstring | nullrequired

List ID

namestringrequired

Task name

descriptionstringrequired

Task description

indexstringrequired

Task index as a decimal string

statusstringrequired

Task status

status_namestring | nullrequired

The status's display name in the account, as the user sees it

priorityintegerrequired

Task priority

story_pointsnumberrequired

Story points

typestringrequired

Task type

start_datestring | nullrequired

Start date, formatted according to the account's date settings

due_datestring | nullrequired

Due date, formatted according to the account's date settings

archivedbooleanrequired

Whether the task is archived

updated_atstring | nullrequired

Last update date in ISO 8601

created_atstring | nullrequired

Creation date in ISO 8601

assigned_to[]string[]required

Assigned user IDs

comments[]object[]required

Task comments

featuredbooleanrequired

Whether the task is featured

referencestringrequired

Task reference

has_morebooleanrequired

Whether there are more items on the next page

cursorstring | nulloptional

Opaque cursor to pass as ?cursor= to fetch the next page. Null on the last page.

Error responses

400Unknown statusapplication/json
401Invalid or missing API keyapplication/json
403Insufficient permissionsapplication/json
429Rate limit exceededapplication/json