To-dos API

Get a specific to-do with a specified set of fields

GET /api/v1/tasks/:id

Use the fields parameter to control which attributes are returned.

Parameters
NameDescription
id *

Numeric ID of the to-do

fields

Comma-separated list of fields to include in the response. Use * to include all default fields. When omitted, a default set of fields is returned. Supported fields: id, name, due_date, status, created_at, body, position, updated_at, product_id, assigned_to_users, assigned_to_products, created_by_user, attachments, url, resource, comments_count, comments, custom_fields, and taskable. Some fields (for example comments) are only returned when named explicitly and are not included by *.

Example request

GET /api/v1/tasks/1041191038?fields=name%2Cbody

Example CURL command

curl -g "https://company.aha.io/api/v1/tasks/1041191038?fields=name%2Cbody" -X GET \
	-H "Authorization: Bearer 15b60d42d4bc417284a246ced6877b0bf13fb4aca415f7b55f7006bc3694a8ab" \
	-H "Content-Type: application/json" \
	-H "Accept: application/json"

Request

authorization: Bearer 15b60d42d4bc417284a246ced6877b0bf13fb4aca415f7b55f7006bc3694a8ab
contentType: application/json
accept: application/json

Response

Status: 200 OK
contentType: application/json; charset=utf-8

Response body