Asana tools
The 12 Asana operations your product runs on your customer's account through Connect. All of them use the same endpoint, POST /api/tools/{tool}/execute.
- List workspacesGETLists the workspaces and organizations the user can see. Use the gid of an item as workspace in the other tools. Send limit to page; the next_page.offset of the response goes in offset.
- List teamsGETLists the teams of an organization that the user can see. A project created in an organization needs the gid of one of them as team.
- List projectsGETLists the projects of a workspace. Only gid and name come back unless opt_fields lists more. Send limit to page; the next_page.offset of the response goes in offset.
- Create projectPOSTCreates a project and returns it. The fields go inside data, which needs name and workspace, plus team when the workspace is an organization.
- Update projectPUTUpdates a project and returns it. Only the fields sent inside data change.
- List tasksGETLists the tasks of a project or section, or the tasks assigned to someone in a workspace. Send project, or section, or assignee together with workspace. Only gid and name come back unless opt_fields lists more. Send limit to page; the next_page.offset of the response goes in offset.
- Get taskGETReturns the full record of one task: name, notes, assignee, dates, completion, projects and custom fields.
- Create taskPOSTCreates a task and returns it. The fields go inside data, which needs workspace, projects or parent; projects and parent already set the workspace. Use due_on for a date or due_at for a date and time, never both.
- Update taskPUTUpdates a task and returns it. Only the fields sent inside data change; completed set to true completes the task. Projects and followers do not change here.
- Delete taskDELETEDeletes a task. It goes to the trash of the user and can be restored there within 30 days.
- List task storiesGETLists the stories of a task, its comments and its activity, oldest first. Set resource_subtype to comment_added for the comments only. Send limit to page; the next_page.offset of the response goes in offset.
- Create task commentPOSTAdds a comment to a task, authored by the connected user, and returns it. The text goes inside data.
See Connect applied to your product.
Try it for 15 days with no card, or walk our team through your use case.
