---
title: "POST /api/v1/download-document/download-pdf"
method: POST
path: "/api/v1/download-document/download-pdf"
tags: ["document-download-controller"]
---

# POST /api/v1/download-document/download-pdf

`POST /api/v1/download-document/download-pdf`

## Request

- Base URL: `https://api-docs.gosure.ai`
- URL: `https://api-docs.gosure.ai/api/v1/download-document/download-pdf`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/gosure/apis/gosure-api/docs/api/v1/download-document/download-pdf/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- DocumentDownloadRequest
  - `parentJobInstanceId` string
  - `jobInstanceId` string
  - `docInstanceId` string
  - `subJobTypeName` string
  - `reportsJobTypeName` string
  - `filters` JobInstanceFilterData[]
    - `fieldName` string
    - `condition` string
    - `value` unknown
    - `betweenRange` unknown
    - `logicalOperator` string
    - `fromMetadata` boolean
  - `pageNumber` integer
  - `pageSize` integer
  - `jobTypeName` string
  - `downloadReportType` 'MULTIPLE_INSTANCES_DOWNLOAD' | 'SINGLE_INSTANCE_DOWNLOAD'

## Response `200`

OK

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/gosure/apis/gosure-api.md) - [All operations](https://skmtc.dev/gosure/apis/gosure-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gosure/apis/gosure-api/revisions/854c83fbb507?raw)
