Sign in

Add project to task

documented

Associate a project with a task.

POST /tasks/{task_gid}/projectsTasksno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://app.asana.com/api/1.0/tasks/{{$task_gid}}/addProject" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"data": {"project": "{{$project_gid}}", "insert_before": "{{$insert_before}}", "insert_after": "{{$insert_after}}", "section": "{{$section_gid}}"}}'
Add project to task · Asana · OpenIntegrations