get https://app.asana.com/api/1.0/workspaces//tasks/custom_id/
Returns a task given a custom ID shortcode.
Responses
Returns a task given a custom ID shortcode.
xxxxxxxxxx
curl --request GET \
--url https://app.asana.com/api/1.0/workspaces/workspace_gid/tasks/custom_id/custom_id \
--header 'accept: application/json'
xxxxxxxxxx
211}
{
"data": {
"gid": "12345",
"resource_type": "task",
"name": "Bug Task",
"resource_subtype": "default_task",
"created_by": {
"gid": "1111",
"resource_type": "user"
},
"approval_status": "pending",
"assignee_status": "upcoming",
"completed": false,
"completed_at": "2012-02-22T02:06:58.147Z",
"completed_by": {
"gid": "12345",
"resource_type": "user",
"name": "Greg Sanchez"
},
"created_at": "2012-02-22T02:06:58.147Z",
"dependencies": [
{
"gid": "12345",
"resource_type": "task"
}
],
"dependents": [
{
"gid": "12345",
"resource_type": "task"
}
],
"due_at": "2019-09-15T02:06:58.147Z",