Mark Task as Approval via API

Heya! Is there a publicly-exposed API to mark a task as an approval? There’s an Asana Rule to perform that action ([Rules] Automation include “Add Approval” - #58 by François-Xavier) but I can’t seem to find a corresponding API endpoint. As it stands, using PUT https://app.asana.com/api/1.0/tasks/{task_gid} to modify approval_status provides a 200 response but the task isn’t converted to an approval.

@sbarag - welcome to the forum! This can be accomplished by calling the update task endpoint (same one you’re already calling) and passing it "resource_subtype": "approval" in the body.

Well heck, I skipped right past that field. Thanks so much, @Stephen_Li !

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.