Questions tagged [asana-api]

The Asana API is a RESTful interface, providing programmatic access to much of the data in the system

The Asana Api is a RESTful interface, providing programmatic access to much of the data in the system. It provides predictable URLs for accessing resources, and uses built-in HTTP features to receive commands and return responses. This makes it easy to communicate with from a wide variety of environments, from command-line utilities to gadgets to the browser URL bar itself.

The API accepts JSON or form-encoded content in requests and returns JSON content in all of its responses, including errors. Only the UTF-8 character encoding is supported for both requests and responses.

189 questions
4
votes
2 answers

How to delegate authorisation to external Auth 2.0 services

I'm working on a service that provides smart (hopefully) integration of different services supporting OAuth 2.0. The focus of our tool is on team work flow improvement, so we're combining Slack, GitHub, Asana (issue tracker), Cezanne (hr tool),…
SiberianGuy
  • 24,674
  • 56
  • 152
  • 266
3
votes
1 answer

how to upload a file to a task in ASANA api using httpclient c#

I'm trying to attach a file to a task in Asana through the HttpClient and I'm getting an error: {"errors":[{"message":"file: Missing input","help":"For more information on API status codes and how to handle them, read the docs on errors:…
2
votes
1 answer

Asana bad request when attempting to set custom field values (API)

I am attempting to create a new task using the Asana API with https://app.asana.com/api/1.0/tasks endpoint. I have been successful in creating some test tasks in the desired project. However I am now trying to also set the values of the custom…
Michael
  • 41
  • 5
2
votes
1 answer

Accesing ASANA data using python requests

First of all, I'm not a Python guru as you can probably tell... So here we go. I'm trying to use Asana's API to pull data with Python requests (Projects, tasks, etc) and doing the authentication using Oauth 2.0... I've been trying to find a simple…
Juancho
  • 23
  • 7
2
votes
1 answer

Can I use Google Apps Script as Asana Webhooks endpoint (doPost)?

I'm trying to connect Google Docs with Asana. I can create tasks from Google Docs and save the connection to MySql database so I can display tasks inside Google Document. Now I need those tasks to be synced with Asana all the time, so I wanted to…
Silko
  • 584
  • 1
  • 8
  • 26
2
votes
2 answers

Create webhook for Asana php

I'm trying to set up a webhook in Asana to send me event updates for a particular project. I am pretty novice so keep that in mind when reading and answering. My first post on here so go easy on me. Here's my code I am running. asanawebhook.php…
2
votes
1 answer

Include deleted tasks in API request

In a call to get recently modified tasks for a project (/api/1.0/projects/{PROJECT_ID}/tasks?modified_since={ONE_DAY_AGO}), is there a way to include tasks that were deleted and when they were deleted? If not, is there a separate endpoint for…
mlienau
  • 783
  • 11
  • 16
2
votes
2 answers

Export tasks with Comments from Asana

I want to export all the details from Asana i.e all workspaces, its projects and all tasks along with the comments. I tried exporting in Asana but I could only get the tasks without comments. Is there any way we can export all the tasks with the…
user2109788
  • 1,266
  • 2
  • 12
  • 29
2
votes
1 answer

Asana API - get all tasks and completion status

I am trying to use the Asana API to get all tasks within a project, as well as whether they have been completed. This seems to require the use of the opt_expand parameter, but I am having no luck with the following URL (and combinations of it):…
dojogeorge
  • 1,674
  • 3
  • 25
  • 35
2
votes
1 answer

Create an Asana task with memberships using Curl

I am trying to create an Asana task using curl on the Debian command line. I am assigning the task to a specific project and a specific section within that project. My curl command creates a task until I add the "memberships" parameter. Here is what…
Will Reade
  • 23
  • 3
2
votes
1 answer

Creating new task through WebHook with Asana API

I am working with a form system very similar to WUFOO that allows me to send data to an external website using WebHooks. I have been able to connect my form to my ASANA system through Zapier but I cannot seem to get the API system to operate…
1
vote
1 answer

Creating webhook using asana API

I am integrating the Asana with the Open AI API for which I am trying to establish the webhook in the asana using the asana API. But I am getting the 403 error. Please find the API details : Method : POST URL :…
Rahul vats
  • 11
  • 1
1
vote
1 answer

Asana Events API always returning invalid sync token in Apps Script

I am trying to call the Asana Events API - https://developers.asana.com/reference/getevents This endpoint uses a 'Sync' token to track when you last called it, each call returns a new sync token which can then be stored and used for the next call to…
1
vote
0 answers

Asana API - how add attachment to task via attachment_gid, not file/stream upload?

I uploaded the file to asana and I have its gid. The file is quite large and I don't want to spend traffic and server resources for the script to work so that this file is added to all the tasks I need. I tried to make updates and history through…
1
vote
1 answer

(Asana) XML is invalid: Headers are not supported on this surface

I am pretty sure I am using exactly the same code in the following two cases, as I tested it on Postman first. The first time I tried to create a task from Postman, it has no issue. The next time I tried to do the same from my NodeJS server, and it…
Terry Windwalker
  • 1,343
  • 2
  • 16
  • 36
1
2 3
12 13