cURL
curl --request POST \ --url https://api.domo.com/v1/projects/{PROJECT_ID}/lists/{LIST_ID}/tasks/{TASK_ID}/attachments \ --header 'Authorization: Bearer <token>'
{ "id": 3, "taskId": 5, "createdDate": "2018-08-01T09:00:00Z", "createdBy": 27, "fileName": "Domo Validation.xlsx", "mimeType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" }
Add a multipart form file to a task item as an attachment.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the project
The ID of the list
The ID of the task
Returns the attachment object.