Asana

Manage your team's work, projects, & tasks online

Go to site

Asana API Integrations

Build and run workflows using the Asana API. Use 1000s of open source triggers and actions across 500+ apps. Or write custom code to integrate any app or API in seconds.

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://app.asana.com/api/1.0/users/me`,
  headers: {
    Authorization: `Bearer ${auths.asana.oauth_access_token}`,
  },
})
Create Task

Create a task

 
Try it
Add Task To Section

Add task to section

 
Try it
Asana - Get list of user projects

Return list of projects given the user and workspace gid

 
Try it
Create Project

Create a project

 
Try it
Create Subtask

Create a subtask

 
Try it

Authentication

Asana uses OAuth authentication. When you connect your Asana account, Pipedream will open a popup window where you can sign into Asana and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Asana API.

Pipedream requests the following authorization scopes when you connect your account:

OAuth Request Configurations:
  1. authorization
    GEThttps://app.asana.com/-/oauth_authorize?client_id={{oauth.client_id}}&state={{oauth.state}}&redirect_uri={{oauth.redirect_uri}}&response_type=code&scope={{oauth.space_separated_scopes}}
  2. accessToken
    POSThttps://app.asana.com/-/oauth_tokencontent-type: application/x-www-form-urlencodedaccept: application/json
    client_id={{oauth.client_id}}&client_secret={{oauth.client_secret}}&grant_type=authorization_code&code={{oauth.code}}&redirect_uri={{oauth.redirect_uri}}
  3. refreshToken
    POSThttps://app.asana.com/-/oauth_tokencontent-type: application/x-www-form-urlencodedaccept: application/json
    client_id={{oauth.client_id}}&client_secret={{oauth.client_secret}}&grant_type=refresh_token&refresh_token={{oauth.refresh_token}}