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
1
vote
2 answers

JSON formatting? Bad request during PUT to set asana custom fields

I'm trying to remove the value of a custom field on an asana task via a PUT request. Based on the original json data I sent over to create the task with a custom field value and the documentation here this is my best guess for how this should…
Holly Grant
  • 121
  • 1
  • 5
1
vote
1 answer

Creating a task in Asana with JS (fail) and CURL (work)

I am writing a quotation system for myself. I have this web page for quotations, which does: a) send an email to the customer (done) with the quoted items b) create a record inside a google spreadsheet (done) c) create a task in asana (fail) For the…
OfficeYA
  • 737
  • 8
  • 15
1
vote
1 answer

ASANA API How to Update Subtask

I am trying to update a subtask. More specifically just the due date. I have tried several things and have failed. This is what I have tried so far: Attempt 1: URL: https://app.asana.com/api/1.0/tasks/ JSON: {"data":{"due_on":"6/18/2017 12:00:00…
1
vote
1 answer

Asana API Personal Access Token return 401 (Unauthorized)

When we are accessing Asana API we are using the Asana node client v0.15.0 together with an Tampermonkey script. The Api is responding with an 401 (Unauthorized). This worked a couple a days ago. I have tried with new Personal Access Tokens but…
1
vote
2 answers

Asana Webhooks: is there no task delete event implemented in Asana API?

I implemented Asana Webhooks to my project and everything works great, I only don't receive delete events. When I delete a task or permanently delete a task there is no request to my endpoint. Are there no delete events implemented or am I doing…
Silko
  • 584
  • 1
  • 8
  • 26
1
vote
2 answers

How do I create a new task in Asana using Alfred?

I'd like to use Alfred (Mac app) to create a new task in my Asana account from anywhere on my computer (I'm not a programmer). I'm trying to create a workflow where the search query can be used to create a new task. Is there a way of using the "JSON…
1
vote
1 answer

Asana OAuth internal url

I'm integrating Asana OAuth2 using https://packagist.org/packages/ajimix/asana-api-php-class When I set up my app on Asana and use an internal url, such as https://intranet, my redirect always fails with invalid_request: The `redirect_uri`…
jdog
  • 2,465
  • 6
  • 40
  • 74
1
vote
0 answers

Paginated request using python-asana API

I am trying to export all tasks from all of my asana work-spaces using python-asana API. But at some point it exists after giving the following error message. Traceback (most recent call last): File "export.py", line 56, in for index,…
user2109788
  • 1,266
  • 2
  • 12
  • 29
1
vote
2 answers

Asana restfull API returns code 434: Client Error

In a Windows Forms .Net 4.5 app, calling Asana's RESTfull end points to get projects or users return error code 434, which is not documented. All it says is "Client Error". Tried both basic and bearer authentication using ApiKey or personal key…
Gadi
  • 21
  • 4
1
vote
1 answer

Error trying to create webhook

I tried to create a webhook for a task in Asana but the only response I'm getting is this: { "errors": [ { "message": "Could not complete activation handshake with target URL. Please ensure that the receiving server is accepting…
November
  • 11
  • 5
1
vote
1 answer

Can I use Asana access_token in the backend?

I have an Angular App as a front-end client and a Rails back-end API. I'd like to access Asana's API and and would like to authorise it via the Angular App, so I'm following their OAuth process called Implicit Grant Flow. After the authorisation…
WagnerMatosUK
  • 4,309
  • 7
  • 56
  • 95
1
vote
1 answer

Asana integration from public drupal/html form to asana tasks using OAUTH

I want to use the same asana user account to integrate a html form on a website to create tasks in a specific project in asana. I have been successful in authenticating using one browser (it takes me to the asana login where I just put in my…
1
vote
1 answer

Asana/php-asana Invalid Request

i want to use Asana-Api by using PHP-Asana (https://github.com/Asana/php-asana). I'm connecting via $client = Asana\Client::accessToken(); That works. Creating a Project or Task is also working. $project =…
Matt
  • 23
  • 5
1
vote
1 answer

Unable to update "dueAt" or "dueOn" fields on Tasks using Asana API for Java

Im trying to create a task with "dueAt" and "dueOn" fields but Im unable to fill these fields. I have created the task "copyTask" by Asana website and Im able to fill due dates. But if I try to create another task using Asana API for Java and give…
1
vote
1 answer

Fetching asna redirect url parameter on google app engine in golang

My asana oauth redirect URL is something like https://testapp.appspot.com/api/redirect.asana#access_token=123456789 I am not sure how to fetch access_token now. Note : if I am changing ? to # then its working fine by using…
Nikhil Maheshwari
  • 2,198
  • 18
  • 25
1 2
3
12 13