- Attachments
- Batch API
- Custom Fields
- Events
- Goals
- Get goals
- Create a goal
- Delete a goal
- Get a goal
- Update a goal
- Add a collaborator to a goal
- Add a subgoal to a parent goal
- Add a project/portfolio as supporting work for a goal.
- Get parent goals from a goal
- Remove a collaborator from a goal
- Remove a subgoal from a goal
- Remove a project/portfolio as supporting work for a goal.
- Create a goal metric
- Update a goal metric
- Get subgoals from a goal
- Get supporting work from a goal
- Jobs
- Organization Exports
- Teams
- Portfolio Memberships
- Portfolios
- Custom Field Settings
- Project Memberships
- Project Statuses
- Projects
- Get multiple projects
- Create a project
- Delete a project
- Get a project
- Update a project
- Add a custom field to a project
- Add followers to a project
- Add users to a project
- Duplicate a project
- Remove a custom field from a project
- Remove followers from a project
- Remove users from a project
- Get task count of a project
- Get projects a task is in
- Get a team's projects
- Create a project in a team
- Get all projects in a workspace
- Create a project in a workspace
- Sections
- Tasks
- Get tasks from a projectGET
- Get tasks from a sectionGET
- Get tasks from a tagGET
- Get multiple tasksGET
- Create a taskPOST
- Delete a taskDELETE
- Get a taskGET
- Update a taskPUT
- Set dependencies for a taskPOST
- Set dependents for a taskPOST
- Add followers to a taskPOST
- Add a project to a taskPOST
- Add a tag to a taskPOST
- Get dependencies from a taskGET
- Get dependents from a taskGET
- Duplicate a taskPOST
- Unlink dependencies from a taskPOST
- Unlink dependents from a taskPOST
- Remove followers from a taskPOST
- Remove a project from a taskPOST
- Remove a tag from a taskPOST
- Set the parent of a taskPOST
- Get subtasks from a taskGET
- Create a subtaskPOST
- Get tasks from a user task listGET
- Search tasks in a workspaceGET
- Stories
- Tags
- Team Memberships
- Users
- Time Periods
- User Task Lists
- Workspace Memberships
- Webhooks
- Workspaces
- Typeahead
Get tasks from a project
GET
/projects/{project_gid}/tasks
Tasks
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://app.asana.com/api/1.0/projects//tasks'
Response Response Example
200 - Example 1
{
"data": [
{
"gid": "12345",
"resource_type": "task",
"name": "Bug Task"
}
]
}
Request
Path Params
project_gid
string
required
Responses
🟢200Successfully retrieved the requested project's tasks.
application/json
Body
data
array[object (TaskCompact) {3}]
optional
gid
string
read-onlyoptional
Example:
12345
resource_type
string
read-onlyoptional
Example:
task
name
string
optional
Example:
Bug Task
🟠400400
🟠401401
🟠403403
🟠404404
🔴500500
Modified at 2022-09-13 02:00:31