Skip to main content
POST
/
v1
/
projects
/
{PROJECT_ID}
/
lists
/
{LIST_ID}
/
tasks
/
{TASK_ID}
/
attachments
Add attachment
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"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

PROJECT_ID
string
required

The ID of the project

LIST_ID
string
required

The ID of the list

TASK_ID
string
required

The ID of the task

Response

200 - application/json

Returns the attachment object.

id
integer
taskId
integer
createdDate
string
createdBy
integer
fileName
string
mimeType
string