List all tasks
projects:projects.readhttps://api.holded.com/api/v2/tasksReturns 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
stringoptionalPagination cursor returned by the previous response. Omit to start from the first page.
integeroptional= 50Maximum number of items to return
stringoptional`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
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
{
"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/jsonUnique identifier
Project ID
List ID
Task name
Task description
Task index as a decimal string
Task status
The status's display name in the account, as the user sees it
Task priority
Story points
Task type
Start date, formatted according to the account's date settings
Due date, formatted according to the account's date settings
Whether the task is archived
Last update date in ISO 8601
Creation date in ISO 8601
Assigned user IDs
Task comments
Whether the task is featured
Task reference
Whether there are more items on the next page
Opaque cursor to pass as ?cursor= to fetch the next page. Null on the last page.
Error responses
400Unknown statusapplication/json401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json429Rate limit exceededapplication/json