---
title: "List or download the attachments"
method: GET
path: "/v1/form-requests/{formRequestId}/attachments"
tags: ["Forms"]
---

# List or download the attachments

`GET /v1/form-requests/{formRequestId}/attachments`

## Request

- Base URL: `https://sign-api.tvarka.pro`
- URL: `https://sign-api.tvarka.pro/v1/form-requests/{formRequestId}/attachments`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Api-Key`
  - OAuth 2 (authorization code, authorization URL `https://sign-api.tvarka.pro/oauth/authorize`, token URL `https://sign-api.tvarka.pro/oauth/token`, scopes: `sign.read`, `sign.signings`)

Without `attachmentId` the list; with it, that file.

## Path parameters

- `formRequestId` string, uuid, required

## Query parameters

- `attachmentId` string, uuid

## Response `200`

The attachments, or one attachment's file.

- object
  - `attachments` FormAttachment[]
    - `attachmentId` string, uuid
    - `field` string
    - `filename` string
    - `contentType` string
    - `bytes` integer
    - `sha256` string

## Other responses

- `401`: An RFC 9457 problem document.
- `402`: An RFC 9457 problem document.
- `403`: An RFC 9457 problem document.
- `404`: An RFC 9457 problem document.
- `429`: An RFC 9457 problem document.
- `503`: An RFC 9457 problem document.

---

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