Skip to main content
GET

Get a task

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

Returns a single task by its ID.

Parameters

Path parameters

taskIdstringrequired

Task ID

Request

python
import requests

url = "https://api.holded.com/api/v2/tasks/{taskId}"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

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

Responses

Response

json
{
  "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"
}

Success responses

200Task foundapplication/json
object
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

Error responses

401Invalid or missing API keyapplication/json
403Insufficient permissionsapplication/json
404Task not foundapplication/json
429Rate limit exceededapplication/json