---
title: "List files attached to a product"
method: GET
path: "/products/{id}/files"
tags: ["Products"]
---

# List files attached to a product

`GET /products/{id}/files`

Lists files associated with a product.

## Path parameters

- `id` integer, required

## Query parameters

- `start` integer
- `limit` integer
- `sort` string

## Response `200`

Success

- object
  - `success` boolean — If the response is successful or not
  - `data` object[] — The array of files
    - `id` integer — The ID of the file
    - `product_id` integer — The ID of the product associated with the file
    - `add_time` string — The UTC date time when the file was uploaded. Format: YYYY-MM-DD HH:MM:SS
    - `update_time` string — The UTC date time when the file was last updated. Format: YYYY-MM-DD HH:MM:SS
    - `file_name` string — The original name of the file
    - `file_size` integer — The size of the file in bytes
    - `active_flag` boolean — Whether the user is active or not.
    - `inline_flag` boolean — Whether the file was uploaded as inline or not
    - `remote_location` string — The location type to send the file to. Only googledrive is supported at the moment.
    - `remote_id` string — The ID of the remote item
    - `s3_bucket` string — The location of the cloud storage
    - `product_name` string — The name of the product associated with the file
    - `url` string — The URL to download the file
    - `name` string — The visible name of the file
    - `description` string — The description of the file
  - `additional_data` object — The additional data of the list
    - `start` integer — Pagination start
    - `limit` integer — Items shown per page
    - `more_items_in_collection` boolean — If there are more list items in the collection than displayed or not

---

[API](https://skmtc.net/pipedrive/apis/pipedrive-api-v1.md) · [All operations](https://skmtc.net/pipedrive/apis/pipedrive-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pipedrive/pipedrive-api-v1/revisions/bf863a979545/schema)
