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
0
votes
1 answer

Asana Remove User

I always get Call restricted to workspace admins when using remove user api. Is there any way to work around and remove user from api. Also when I add someone using addUser api they are added as Guest is there any way to make them member?
Hemant Verma
  • 90
  • 2
  • 9
0
votes
1 answer

Asana Webhooks API

So I have implemented the Asana Webhooks API as described in their documents. I can pass it a project ID and request a new webhook be created. The API successfully sends a authentication request to my application which returns the Security header as…
0
votes
1 answer

How can I use stunnel to test my Asana API calls

Any idea how I can test I have a GWT app that retrieves data from the Asana API. I've not been able to test locally since the Deprecation of OAuth 2.0 ‘http’ Redirects. The Asana Docs…
0
votes
1 answer

Asana API: Tasks without project

I'm using Asana API and trying to find all tasks in workspace without projects (This refers to the workspace without the project in which tasks are created). Is something like this possible in Asana API?
Zohan
  • 13
  • 1
0
votes
2 answers

Asana API - upload files using Ajax

I have a project that requires file uploads into Asana. I would like to be able to do this through Asana's API if possible. I have been able to successfully create tasks in Asana using Ajax Post requests. Is there anyway to use an Ajax Post request…
0
votes
1 answer

Asana returning "Private user" as name when getting user by ID or email

I have a Java application that queries a specific project in Asana for completed tasks. Afterwards, it looks up the assignee ID to get the name of the assignee. However, all of a sudden, Asana has started returning "Private user" as the name of the…
0
votes
1 answer

Need clarification on creating Tasks in Asana

The documentation for tasks seems to imply that the POST method uses name/value pairs as the data payload (I'm assuming for a content type of application/x-www-form-urlencoded). Can it accept JSON instead, using the same format as the data returned…
Eric Legault
  • 5,706
  • 2
  • 22
  • 38
0
votes
1 answer

How to set custom_fields that has an enum_value using a POST HTTP request?

I'm trying to set a custom_fields of type enum_value in a task that I'm creating with a POST HTTP request. I managed to set a custom_field of type number but I'm having issue with the custom_fields of type enum_value Questions: Here's what I did so…
AziCode
  • 2,510
  • 6
  • 27
  • 53
0
votes
1 answer

Can I send an HTML tags like or in a POST request, so that my text is bold once it gets to Asana?

I'm creating a Task using a POST HTTP request, it's working fine and my task is being created on Asana. here's an example of the task I'm sending var task = { data: { assignee: "me", workspace: "1234567", projects: "9876543", …
AziCode
  • 2,510
  • 6
  • 27
  • 53
0
votes
1 answer

How can I add guests or members to projects created through the Asana API?

I currently have a script that takes a list of people and creates new Asana projects, one for each person. These people are not in our Asana organization and need to be invited as guests to their respective projects. If I try to include a followers…
Griffin
  • 108
  • 6
0
votes
1 answer

Asana Python API : Find all tasks that are unassigned in a workspace

I am using the python-asana API, https://github.com/Asana/python-asana Using this, it is very easy to get all tasks in a workspace if I specify the task assignee and the workspace, like so, task_fields = ["this.workspace", "this.name",…
nitin
  • 7,234
  • 11
  • 39
  • 53
0
votes
1 answer

Creating an Asana Task using a POST http request

I'm trying to use the asana-api to create a Task using a POST http request but I keep getting a 400 bad request as a response. I managed to get data from the Asana-api using ( a GET request ), but I'm having trouble sending data to Asana with ( a…
AziCode
  • 2,510
  • 6
  • 27
  • 53
0
votes
1 answer

Get task from several assignee / team

I need to get a list of tasks for several persons (team members). I see that in the API I can specify one assignee. Could I specify a list of assignee or a team id to get task related to several members ? Regards,
waghanza
  • 163
  • 1
  • 9
0
votes
1 answer

Update task - change tags

Trying to update tags associated to a task: Request: PUT https://app.asana.com/api/1.0/tasks/286045228787956 Request payload: {"data":{"tags":[157484377992312,157484408318898,285998759647376]}} Response: 400 Body: {"errors":[{"message":"tags:…
Amit G
  • 2,293
  • 3
  • 24
  • 44
0
votes
2 answers

Asana API: Invalid Request when using task/addTag or creating a task with tags

I can't seem to be able to add tags to new or existing tasks. I'm using the API from github at https://github.com/Asana/php-asana Per the docs here, I set up the options and fired up the API call to the task endpoint. It fails with: Fatal error: …
limeygent
  • 416
  • 6
  • 17