---
title: "Download request PDF"
method: GET
path: "/v1/Requests/{id}/pdf"
tags: ["Requests"]
---

# Download request PDF

`GET /v1/Requests/{id}/pdf`

Generate and download a PDF of a request. The request template you specify determines the format of the PDF. This can be used to create quotes.

## Path parameters

- `id` integer, required

## Query parameters

- `request.request_id` integer
- `request.request_template_id` integer
- `request.special_message` string
- `request.attach_pdf_to_request` boolean

## Response `200`

OK

- RevAppModelsDownloadStreamModel
  - `stream` SystemIOStream
    - `CanRead` boolean
    - `CanSeek` boolean
    - `CanTimeout` boolean
    - `CanWrite` boolean
    - `Length` integer
    - `Position` integer
    - `ReadTimeout` integer
    - `WriteTimeout` integer
  - `file_name` string — Name of the file, including extension.
  - `length` integer — Data length of the file, in Bytes.
  - `file_id` integer — The primary key indicating the file that has been downloaded.
  - `links` RevAppComponentsLink[]
    - `rel` string
    - `href` string

## Other responses

- `400` — BadRequest
- `500` — InternalServerError

---

[API](https://skmtc.net/rev-io/apis/rev-io-api.md) · [All operations](https://skmtc.net/rev-io/apis/rev-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rev-io/rev-io-api/versions/135571434f6c/schema)
