---
title: "List Attachments"
method: GET
path: "/api_v2/projects/{project_id}/tasks/{task_id}/attachments.json"
tags: ["Attachments"]
---

# List Attachments

`GET /api_v2/projects/{project_id}/tasks/{task_id}/attachments.json`

## Request

- Base URL: `https://www.bugherd.com`
- URL: `https://www.bugherd.com/api_v2/projects/{project_id}/tasks/{task_id}/attachments.json`
- Auth: HTTP basic

Returns all file attachments on a task.

## Path parameters

- `project_id` integer, required
- `task_id` integer, required

## Response `200`

List of attachments

- object
  - `attachments` Attachment[]
    - `id` integer
    - `file_name` string
    - `url` string, uri
    - `created_at` string, date-time
  - `meta` object
    - `count` integer: Total number of records across all pages

---

[API](https://skmtc.dev/bugherd/apis/bugherd-api-v2.md) · [All operations](https://skmtc.dev/bugherd/apis/bugherd-api-v2/llms.txt) · [OpenAPI document](https://skmtc.dev/bugherd/apis/bugherd-api-v2/revisions/bf473cda70d4?raw)
