---
title: "List resource attachments"
method: GET
path: "/v1/resources/{resourceId}/attachments"
tags: ["Resources"]
---

# List resource attachments

`GET /v1/resources/{resourceId}/attachments`

## Request

- Base URL: `https://api.workwing.io`
- URL: `https://api.workwing.io/v1/resources/{resourceId}/attachments`
- Auth: HTTP bearer

## Path parameters

- `resourceId` string, uuid, required

## Response `200`

Default Response

- object
  - `data` object[], required
    - `id` string, uuid, required
    - `file_name` string, required
    - `file_type` string, required: MIME type
    - `file_size` integer, required: Size in bytes
    - `caption` string, nullable, required
    - `uploaded_by_user_id` string, uuid, nullable, required
    - `uploaded_at` string, date-time, nullable, required
    - `download_url` string, required: Short-lived presigned URL that downloads the file
    - `resource_id` string, uuid, required
    - `description` string, nullable, required
    - `attachment_type` 'T_GENERAL' | 'T_CERTIFICATE' | 'T_QUALIFICATION' | 'T_ID_DOCUMENT', required
    - `document_number` string, nullable, required
    - `expiry_date` string, date, nullable, required: The document's expiry date, `YYYY-MM-DD`
  - `meta` object, required
    - `request_id` string, required
    - `timestamp` string, date-time, required

---

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