zadam
zadam

Reputation: 2456

Can Asana API upload an attachment to a task

I would like to programmatically upload an attachment to a task in Asana. Can this be done?

Upvotes: 2

Views: 1124

Answers (3)

ariel
ariel

Reputation: 373

Actually Asana Api supports attachments uploads, but I didn't work from java. I'm using multipart/form-data with a Custom MultipartRequest class that works in other rest implementations, but nothing in the Asana doc is clear to know what headers/params we need to implement in the request to works properly, I'm getting BadRequestError all the time. Anybody knows anything about that?

Upvotes: 0

agnoster
agnoster

Reputation: 3784

While Greg was correct at the time he wrote this, I'm now pleased to say you can both fetch and upload attachments via the API: https://asana.com/developers/api-reference/attachments

Upvotes: 4

Greg S
Greg S

Reputation: 2079

Not at this time, but we'll make sure it's on our list of feature requests.

Upvotes: 2

Related Questions