---
title: "Download request PDF represented as a Base64-encoded string"
method: GET
path: "/v1/Requests/{id}/pdf/base64"
tags: ["Requests"]
---

# Download request PDF represented as a Base64-encoded string

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

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

- RevAppModelsDownloadImageModel
  - `file_image` string, byte — Binary file data represented as a Base64-encoded string.
  - `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/revisions/135571434f6c/schema)
