---
uuid: 9f086e7b-3091-4c38-8707-063f48c2db87
date_created: 2026-01-19T13:47:48.131Z
date_updated: 2026-04-03T16:26:43.302Z
seo_url: generate-pdf-summary-of-a-proposal
category: Option creation
routes: 
  - GET /v0/proposals/{proposal_id}/pdf
---

# Generate a PDF summary of a proposal

This scenario documents the API call used to retrieve a PDF document summarizing a proposal. It is useful when a seller or partner needs a shareable, printable version of a quote.

## Flow

false

## Overview

Use this scenario to generate a PDF file that summarizes a proposal and its key travel details.

## Prerequisites

* Keep a valid `proposal_id`.
* Use a valid API key when calling the PDF route.
* Make sure your consumer can handle a file response instead of standard JSON.

## 1 - Generate the proposal PDF

Use `GET /v0/proposals/{proposal_id}/pdf` to generate the proposal PDF.

#### Prerequisites

Prepare `proposal_id`. Keep `x-api-key` and, when the route is customer-scoped, a valid bearer token. Use a valid `proposal_id` and handle the response as a file stream.

#### Calling CURL

```bash
curl -X GET \
  -H "x-api-key: YOUR_API_KEY" \
  -H "accept-language: en-US" \
  "https://api.clubmed.com/v0/proposals/{proposal_id}/pdf"
```

#### Example answer

```http
HTTP/1.1 200 OK
Content-Type: application/pdf
```

> **info:** The returned content must be handled as a PDF to download or preview.

***

**Response codes**

* `200 OK`: the PDF stream is returned.
* `400 Bad Request`: the request is invalid.
* `404 Not Found`: the proposal cannot be found.

**Related route**: [GET https://api.clubmed.com//v0/proposals/{proposal\_id}/pdf](https://api.clubmed.com/doc?search=GET%20%2Fv0%2Fproposals%2F%7Bproposal_id%7D%2Fpdf)
