---
title: "Gets a File Attachment"
method: GET
path: "/FileAttachments/{id}"
tags: ["FileAttachments"]
---

# Gets a File Attachment

`GET /FileAttachments/{id}`

## Request

- Base URL: `https://api.insightly.com/v3.1`
- URL: `https://api.insightly.com/v3.1/FileAttachments/{id}`
- Auth: none declared. Required headers: `Authorization`

Returns the requested File Attachment. If the 'format' parameter is set to 'JSON', returns the metadata of the File Attachment in JSON format.

## Path parameters

- `id` integer, required

## Query parameters

- `format` string

## Headers

- `Authorization` string, required

## Response `200`

Request succeeded.

## Other responses

- `400`: Often missing or invalid parameter.
- `401`: Authentication failed.
- `403`: API User does not have access to File Attachment.
- `404`: File Attachment not found.

---

[API](https://skmtc.dev/insightly/apis/insightly-api-v3-1.md) - [All operations](https://skmtc.dev/insightly/apis/insightly-api-v3-1/llms.txt) - [OpenAPI document](https://skmtc.dev/insightly/apis/insightly-api-v3-1/revisions/e7df0c3b65fb?raw)
