Skip to main content
GET
/
v1
/
projects
/
{PROJECT_ID}
/
lists
/
{LIST_ID}
/
tasks
/
{TASK_ID}
/
attachments
Retrieve list of attachments
curl --request GET \
  --url https://api.domo.com/v1/projects/{PROJECT_ID}/lists/{LIST_ID}/tasks/{TASK_ID}/attachments \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": 2,
    "taskId": 5,
    "createdDate": "2018-08-01T09:00:00Z",
    "createdBy": 27,
    "fileName": "dataflows.csv",
    "mimeType": "text/csv"
  },
  {
    "id": 1,
    "taskId": 5,
    "createdDate": "2018-08-01T09:00:00Z",
    "createdBy": 27,
    "fileName": "logo.png",
    "mimeType": "image/png"
  }
]

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 an array of attachment objects.

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